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

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

        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))
