fix login - use variable of user not req.user in ejs, remove login.js -> use pages.js for page loading, add conditional to pages if user is defined