adding check to the ListGames view, some cleanup work