     @sidebar = new Sidebar domId : "sidebar", delegate : @
     @emit "SidebarCreated", @sidebar
     @sidebarPanel.addSubView @sidebar
-    
+
   changeHomeLayout:(isLoggedIn)->
 
   decorateLoginState:(isLoggedIn = no)->

      domId    : "main-tab-handle-holder"
      cssClass : "kdtabhandlecontainer"
      delegate : @
      
    @mainTabView = new MainTabView
      domId              : "main-tab-view"
      listenToFinder     : yes


    @registerSingleton "contentPanel", @contentPanel, yes
    @registerSingleton "sidebarPanel", @sidebarPanel, yes

  addHeader:()->
    @addSubView @header = new KDView
      tagName : "header"
