move get/post blocks to GameController helpers