manage player data in the player class
remove some useless data in the frontend script