refactor to match api
refactor to match new server api
refactored server api because of gameid removal
refactor to match new server api