Fixing Main Controller, identified some problems with logging and
logging in. (Session.currentUser is not updated)