Added more session variables to the login.
Added session variables to the register page.