docs: function(req, res, next) {
            var api_name = req.params.api;
            var session = req.session;
            var user = session.user;
  
            if (typeof user !== 'undefined') {
              res
                .status(401)
                .send({
                  message: 'you are already logged in: log out first :('
                });
              return;
            }
  
            next();
          }