refactored getGames and getPlayers with basicQuerys