               [:input {:type         "password"
                        :class        "formControl col-sm-8 col-lg-8"
                        :id           "inputPassword2"
-                       :on-change    #(dispatch-sync [:update-credentials :password2 (-> % .-target .-value)])
+                       :on-change    #(dispatch-sync [:state-credentials :password2 (-> % .-target .-value)])
                        :on-key-press #(dispatch-on-press-enter % [:auth-request @signup?])
                        :value        @confirm}]]])
 

        )))

(register-handler
  :save-note-error
  (fn [app-state [_ result]]
    (dispatch [:set-message (str "Error saving note: " result) "alert-danger"])
    (clear-token-on-unauth result)
    (assoc-in app-state [:ui-state :is-busy?] false)
    ))


;;;;------------------------------

       (if (= :open (:status memory))
         [:a {:class    "btn btn-primary btn-xs"
              :on-click #(do
                          (dispatch [:state-current-note (:thought memory)])
                          (dispatch [:memory-edit-set memory]))}
          "Edit" [:i {:class "fa fa-pencil fa-space"}]])
       [:a {:class    "btn btn-primary btn-xs"
            :on-click #(do
