         controller = self.get("controllers.game")
         controller.set("response", data)
         self.transitionToRoute("game")
+      ).fail((xhr, status, error) ->
+        alert("Error #{xhr.status}: #{xhr.statusText}. Try refreshing a page")
       )
       
 , Config))

          alert(data.error)
        else
          self.result(data)
      )
    
    next: ->

        self.transitionToRoute("index")
      else
        self.set("response", data)
    ).fail((xhr, status, error) ->
      alert("Error #{xhr.status}: #{xhr.statusText}. Try refreshing a page")
    )
  
  result: (data) ->
