Add return for generateUserToken
Add a to_json method to Player
Generate token during the login