Renamed login route to session, implemented session/get to return authenticated user. Changed client router to do session auth check. Deleted login layout template, used main layout for login instead. Deleted models.js and views.js as these are now represented as separate requirejs modules.