Changed view engine to ejs, performed view refactoring, added proper currently logged in user persistence