Actually use the session for logging in and out