Only create a new game when data is submitted

Fixes bug where games are created on every visit to index