set the session for the login and adjusted the layout home slightly