 (em/defaction observe-change-user []
   ["#users-id"]
   (events/listen :change
-                 #((do (reset! user {:username (ef/from "#users-id" (get-prop :value))})
-                       #_(js/alert (str "Before try load recommendations for user: " @user))
-                       (refresh)
-
-                       #_(js/alert (str "User changed. Current user: " @user))))))
+                 #((do (reset! user
+                               {:username (ef/from "#users-id" (get-prop :value))})
+                       (refresh)))))
 
 (defn start []
   (ef/at ".container"

  (ef/at "#specializations-completed"
         (ef/content (map specialization-comleted data))))

(defn render-whole-user-data [data]
  (recommendation-list (:recommendations data))
  (recommendation-completed-list (:recommendations-completed data))
  (specialization-available-list (:specializations-available data))
  (specialization-completed-list (:specializations-completed data)))

(defn try-load-recommendations
  ([]



(def user (atom {:username "user2"}))
(def user-data (atom {}))

(def tmpl "/html/kmg.html")

