 
     @ldc = @getSingleton 'lazyDomController'
     @mc  = @getSingleton 'mainController'
+
+    @prefix =
+      if @ldc.userEnteredFromGroup() and KD.config.groupEntryPoint isnt 'koding'
+          "/#{KD.config.groupEntryPoint}"
+      else ""
 
     @buttonGroup = new KDView
 

      callback    : =>
        @ldc.handleNavigationItemClick
          action  : 'register'
          path    : '/Register'


  pistachio:->

      callback    : =>
        @ldc.handleNavigationItemClick
          action  : 'login'
          path    : "#{@prefix}/Login"


  addLogoutButton:->
