   [data on-error]
   (s/assert ::register-params data)
   (s/assert ::us/fn on-error)
-  (reify
+  (ptk/reify ::register
     ptk/WatchEvent
     (watch [_ state stream]
       (letfn [(handle-error [{payload :payload}]

      (i18n/set-default-locale!))))

(def logout
  (reify
    ptk/WatchEvent
    (watch [_ state s]
      (rx/of (rt/nav :auth/login)

(defn recovery
  [{:keys [token password] :as data}]
  (s/assert ::recovery-params data)
  (ptk/reify ::recovery
    ptk/WatchEvent
    (watch [_ state stream]
      (letfn [(on-error [{payload :payload}]
