fixed id field in player data structure
added destructuring in websocket calls for incoming params
minor fixes