 
 class LandingPageSideBar extends KDView
-
-  defaultItems =  items : [
-      { title : "Register", action : "register", loggedOut : yes }
-      { type  : "separator" }
-      { title : "Logout",   action : "logout",   loggedIn  : yes }
-      { title : "Login",    action : "login",    loggedOut : yes }
-    ]
 
   constructor:(isLoggedIn = no)->
 

      item.on "click", (event)->
        landingPageSideBar.emit "navItemIsClicked", item, event




  instantiateListItems:(items)->

    # Build groups menu
    if @lc.userEnteredFromGroup()

      scrollView   : no
      wrapper      : no
      delegate     : @
    ,
      items : [
        { title : "Register", action : "register", loggedOut : yes }
        { type  : "separator" }
        { title : "Logout",   action : "logout",   loggedIn  : yes }
        { title : "Login",    action : "login",    loggedOut : yes }
      ]

    @on 'ListItemsInstantiated' , =>
      $("#profile-static-nav").remove()

    @addSubView @nav = @navController.getView()

    @mainController.on "accountChanged.to.*", => @navController.reset()

class LandingPageNavigationController extends NavigationController

