   (:require-macros [cljs.core.async.macros :as am :refer [go go-loop alt!]]
                    [dommy.macros :refer [node sel sel1]]))
 
-(defn sidebar [{:keys [subpage plan]} owner]
+(defn sidebar [{:keys [subpage plan org-name]} owner]
   (reify
     om/IRender
     (render [_]

               (if-not (:name org-data)
                 [:div.loading-spinner common/spinner]
                 [:div.row-fluid
                  (om/build sidebar {:subpage subpage :plan plan})
                  [:div.span9
                   (common/flashes)
                   [:div#subpage

                            {:page :users :text "Users"}])
                [:li.nav-header "Plan"]
                (when plan
                  (if (plan-model/can-edit-plan? plan org-name)
                    (nav-links [{:page :containers :text "Add containers"}
                                {:page :organizations :text "Organization"}
                                {:page :billing :text "Billing info"}
