changed id of players handling
added field id to player