         (.set defn-obj "authorCountry" country)
         (def save-defn-promise (.save defn-obj))
         (.then save-defn-promise (fn [evt]
-                                   (js/console.log "saved xtra data")
                                    (set! js/window.location.href "/thankyou")))
         (.fail save-defn-promise (fn [err]
-                                 (js/console.error err)))))))
+                                 (js/console.error "Something went wrong: " err)))))))
 
 (defn get-defn [idx]
   (js/Parse.Cloud.run

             :max-length 4
             :placeholder "Enter Year (YYYY)"
             :on-change (fn [evt]
                          (js/console.log (@app-atom :year))
                          (swap! app-atom assoc :year (js/parseInt evt.target.value)))}]
    [:a {:class "button formToggle"
         :on-click #(swap! app-atom assoc :defn-form-mode "default")} "Add Your Own Definition"]

  (let [curr-user (js/Parse.User.current)]
    (if (nil? curr-user)
      (save-anonymous-user)
      (swap! app-atom assoc :curr-user curr-user))))


(defn login-user [app-atom]
