   (let [params (msg :params)
         {:keys [ws user eid phase]} params]
     (infof "RUN: %s" params)
-    (let [vmsg (va/validate-exp eid)]
+    (let [vmsg (va/validate-exp eid phase)]
       (if (not-empty vmsg)
         (send-end-msg ws {:op :validate :payload vmsg})
         (let [{:keys [cmd eid template]} params



(defn connfn [data] data)

#_(start-server
   7070
   :route-handler (aerobio-handler
                   (aerobio-routes :index-path "public/index.html"))
   :idfn (constantly "Aerobio")
   :connfn connfn)
#_(stop-server)


(defn start! [port]

    (update-adb :chan ch
                :idfn [idfn]
                :connfn [connfn])
    (go-loop [msg (<! ch)]
      (let [{:keys [op payload]} msg]
        (future (server-dispatch ch op payload))
