             [swarmpit.storage :as storage]
             [swarmpit.routes :as routes]
             [swarmpit.component.state :as state]
-            [rum.core :as rum]))
+            [clojure.string :as string]
+            [rum.core :as rum]
+            [goog.crypt :as crypt])
+  (:import
+    [goog.crypt Md5]))
 
 (enable-console-print!)
 

  {:position "fixed"
   :right    20})

(defn- user-avatar []
  (comp/avatar
    {:style user-avatar-style
     :src   "https://www.gravatar.com/avatar/6e6fd910c0594f4f2b448e3530eb5abd"}))

(defn- user-menu-button []
  (comp/icon-button

(rum/defc userbar < rum/static []
  [:div.user-bar
   (user-avatar)
   [:span (storage/user)]
   (user-menu)])

(rum/defc appbar < rum/reactive []
