 
     @setClass "account-menu"
 
-    sidebar  = @getDelegate()
-
     @notificationsPopup = new AvatarPopupNotifications
       cssClass : "notifications"
-      delegate : sidebar
 
     @messagesPopup = new AvatarPopupMessages
       cssClass : "messages"
-      delegate : sidebar
-
-    @groupSwitcherPopup = new AvatarPopupGroupSwitcher
-      cssClass : "group-switcher"
-      delegate : sidebar
 
     @notificationsIcon = new AvatarAreaIconLink
-      cssClass   : 'notifications'
+      cssClass   : 'notifications acc-dropdown-icon'
       attributes :
         title    : 'Notifications'
       delegate   : @notificationsPopup
 
     @messagesIcon = new AvatarAreaIconLink
-      cssClass   : 'messages'
+      cssClass   : 'messages acc-dropdown-icon'
       testPath   : "avatararea-messages-icon"
       attributes :
         title    : 'Messages'
       delegate   : @messagesPopup
 
-    @groupsSwitcherIcon = new AvatarAreaIconLink
-      cssClass   : 'group-switcher hidden'
-      attributes :
-        title    : 'Your groups'
-      delegate   : @groupSwitcherPopup
-
     @accountIcon = new KDCustomHTMLView
       tagName    : "a"
-      cssClass   : 'account'
+      cssClass   : 'account acc-dropdown-icon'
       attributes :
         title    : 'Account Settings'
         href     : "#"

      else @messagesPopup.noMessage.show()
      @messagesIcon.updateCount count

    @groupSwitcherPopup.listControllerPending.on 'PendingGroupsCountDidChange', (count)=>
      if count > 0
        @groupSwitcherPopup.invitesHeader.show()
        @groupSwitcherPopup.switchToTitle.unsetClass 'top'
      else
        @groupSwitcherPopup.invitesHeader.hide()
        @groupSwitcherPopup.switchToTitle.setClass 'top'
      @groupsSwitcherIcon.updateCount count

  accountChanged:(account)->

    {notificationsPopup, messagesPopup, groupSwitcherPopup} = @

    messagesPopup.listController.removeAllItems()
    notificationsPopup.listController.removeAllItems()
    groupSwitcherPopup.listController.removeAllItems()

    if KD.isLoggedIn()



      # Fetch Private Messages
      messagesPopup.listController.fetchMessages()
