Fixed some basic logic issues with the new storing of user credentials in the session