User id is now stored in session after authentication.