Added functionality to get games from server