Moved generation of login access token to user class