             [tictag.schemas :as schemas]
             [goog.net.cookies]))
 
+(def interceptors [(when ^boolean goog.DEBUG re-frame.core/debug)])
+
 (defn authenticated-xhrio [m token]
   (merge m {:headers {"Authorization" token}}))
 
 (reg-event-fx
  :login/submit-login
+ [interceptors]
  (fn [{:keys [db]} [_ params]]
    ;; TODO edit DB to say we're pending login and add UI
    {:http-xhrio {:method          :post


(reg-event-fx
 :delete-beeminder
 (fn [{:keys [db]} _]
   {:http-xhrio (authenticated-xhrio
                 {:method          :delete


(reg-event-fx
 :fetch-pings
 [interceptors]
 (fn [{:keys [db]} _]
   {:db         (assoc db :fetching true)
    :http-xhrio (authenticated-xhrio
