Added a session that stores the login state, including username and ticket. Starting to try to get the LoginView to work.