   [synchronize-fn make-peer-requests-fn kv-store list-tokens-fn {:keys [request-method] :as req}]
   (try
     (case request-method
-      :post (let [tokens (list-tokens-fn)] 
+      :post (let [tokens (list-tokens-fn)]
               (reindex-tokens synchronize-fn kv-store tokens)
               (make-peer-requests-fn "tokens/refresh"
                                      :method :post
                                      :body (json/write-str {:index true}))
               (utils/map->json-response {:message "Successfully re-indexed" :tokens (count tokens)}))
       (throw (ex-info "Only POST supported" {:request-method request-method
-                                              :status 405})))
-    (catch Exception ex
-      (utils/exception->response ex req))))
+                                             :status 405})))
+    (catch Exception ex
+      (utils/exception->response ex req))))

      :get (let [owner->owner-ref (token-owners-map kv-store)]
             (utils/map->json-response owner->owner-ref))
      (throw (ex-info "Only GET supported" {:request-method request-method
                                             :status 405})))
    (catch Exception ex
      (utils/exception->response ex req))))


   If handling POST, validates that the user is the creator of the token if it already exists.
   Then, updates the configuration for the token in the database using the newest password."
  [clock synchronize-fn kv-store waiter-hostname entitlement-manager make-peer-requests-fn validate-service-description-fn
   {:keys [request-method] :as req}]
  (case request-method
    :delete (handle-token-delete-request clock synchronize-fn kv-store waiter-hostname entitlement-manager
                                         make-peer-requests-fn req)
    :get (handle-get-token-request kv-store waiter-hostname req)
    :post (handle-post-token-request clock synchronize-fn kv-store waiter-hostname entitlement-manager
                                     make-peer-requests-fn validate-service-description-fn req)))

(defn handle-list-tokens-request
  [kv-store {:keys [request-method] :as req}]
