update event controller index method with logic to set game status to 'ended' if the game start date is expired.