fixed json responses
added game creation to server