 ;; Routes
 
 (secretary/defroute "/" []
-  (session/put! :current-page #'home-page))
+  (session/put! :current-page #'home-page-ui))
 
 (secretary/defroute "/edit" []
-  (session/put! :current-page #'edit-page))
+  (session/put! :current-page #'edit-page-ui))
 
 ;; -------------------------
 ;; Initialize app

;; -------------------------
;; Views

(defn home-page []
  [:div.container
   [navbar :insert]
   [:h2 "Insert Hyphenations"]
   [:div.row
    [:div.col-md-6

                  (load-hyphenation-patterns! @spelling @word))
     :on-blur #(lookup-hyphenation-pattern! @spelling @word)}]])

(defn hyphenation-ui []
  (let [label "Corrected Hyphenation"
        valid? (or (string/blank? @hyphenation) (hyphenation-valid? @hyphenation))
        klass (if valid? "form-group" "form-group has-error")]
