                       :logged-in? false}
             :error   {:message nil}
             :info    {:message nil}
-            :app     {:loading? false}}))
+            :app     {:loading? false
+                      :progress {}}}))
 
 (declare get-pokemon-by-id)
 

  (get-in @app-state [:info :message]))


;;;; State transitions
(defn update-pokemon!
  "Update pokemon based on API response."

(defmethod mutate 'user/logged-in
  [{:keys [state]} _ {:keys [status]}]
  {:action (fn [] (swap! state update-in [:user :logged-in?] (fn [] status)))})

(defmethod mutate 'status/progress
  [{:keys [state]} _ {:keys [status]}]
  {:action (fn [] (swap! state update-in [:app :progress]
                         (fn [] {:to-delete (:to_delete status)
                                 :deleted   (:deleted status)})))})

(defonce reconciler
         (om/reconciler
