Same as above. Why is the user logged out if a request fails?