Modify game_controller#getGames to comply with new database relations