Updating GET: /user endpoint, handling the error case where a user has been deleted but the session is still valid.