code: function isPrivateSessionAuth(req, res, next) {
          if (!res.isPrivateBlog) {
              return res.redirect(urlService.utils.urlFor('home', true));
          }
  
          let hash = req.session.token || '',
              salt = req.session.salt || '',
              isVerified = verifySessionHash(salt, hash);
  
          if (isVerified) {
              // redirect to home if user is already authenticated
              return res.redirect(urlService.utils.urlFor('home', true));
          } else {
              return next();
          }
      }
docs: This is here so a call to /private/ after a session is verified will redirect to home;