get id for player 0 and 1 from db. Now its not hard coded anymore