Added some session variables to help login process