modified the api/me endpoint