Added the user to the session and load it into window on page load