 (reg-event-db
   :state-ui-section
   (fn [app-state [_ section]]
+    (trace :state-ui-section section)
     (if (= :remember section)
       (dispatch [:memories-load]))
     ; Do not associate nil sections

        signup?   (reaction (= :signup @section))
        u-class   (reaction (if (and @signup? (empty? @username)) " has-error"))
        pw-class  (reaction (if (and @signup? (> 5 (count @password))) " has-error"))
        pw2-class (reaction (if (not= @password @confirm) " has-error"))
        ]
    (fn []
      [:div {:class "modal"}
       [:div {:class "modal-dialog"}

            [markdown.transformers :as transformers]
            [pushy.core :as pushy]
            [ajax.core :refer [GET POST PUT DELETE]]
            [clojure.string :as string]
            [taoensso.timbre :as timbre
             :refer-macros [log trace debug info warn error fatal report
                            logf tracef debugf infof warnf errorf fatalf reportf
                            spy get-env]])
  (:require-macros [reagent.ratom :refer [reaction]]
                   [memento.misc.cljs-macros :refer [adapt-bootstrap]])
  (:import goog.History))
