   (case topic
     :get-user-bookmarks {:topic topic
                          :data (get-user-bookmarks (:conn @server-state) data)}
-    :register {:topic topic
+    :sign-up  {:topic topic
                :data (add-user (:conn @server-state) data)}
-    :sign-in {:topic topic
+    :log-in {:topic topic
               :data (verify-user (:conn @server-state) data)}
     :add-bookmark {:topic topic
                    :data (add-bookmark (:conn @server-state)

  ;; on first startup initialize datomic schema
  (init-schema (:schema @server-state))

)



(defn init-db [state]
  (let [conn (scratch-conn)]
    (swap! state #(assoc %1 :conn %2) conn))
  (init-schema (:conn @state) (:schema @state))
  state)


