 
 (defn delete-article [id]
   (DELETE (str "/api/articles/" id)
-          {:headers       {:identity (get-identity-token)}
+          {:headers       {:identity (utils/get-identity-token)}
            :error-handler #(alert-update-display-fn %)
            :handler       #(alert-update-display-fn %)}))
 

  (PUT "/api/block-user"
       {:params        {:email email :blocked? state}
        :format        :json
        :headers       {:identity (get-identity-token)}
        :handler       (fn [res]
                         (alert-update-display-fn (str "User with email: " email " successfully " res)))
        :error-handler #(js/alert %)}))

(defn fetch-all-users []
  (GET "/api/users"
       {:headers         {:identity (get-identity-token)}
        :error-handler   #(secretary/dispatch! "/")
        :response-format :json
        :keywords?       true

            [ajax.core :refer [PUT GET DELETE]]
            [cljsjs.jquery]
            [cljsjs.fixed-data-table]
            [rmfu-ui.utils :as utils]))

(declare cell-and-checkbox)

