I have a simple nodejs/express application by this example. In that view there is checking everyauth.loggedIn variable, but in my application I don't use everyauth module I use the following code instead:
req.session.auth = user;
How can I get access to req.session.auth in a view in this case?