added isAuthenticated, and currentUser to res.locals