Turn the GetUserFromSession to getUserFromSession and move to login.js