 
     body.style.background = '#000'
     @setClass 'logout-tv'
+
+getClassNames = (logo) -> classnames
+  'team-logo' : yes
+  'default' : logo is DEAFULT_TEAM_LOGO

        src : "#{logo}"

    groupsController.on 'TEAM_DATA_TO_UPDATE', (dataToUpdate) =>
      logo = dataToUpdate.customize?.logo
      if logo
        @teamLogo.setAttribute 'src', logo
        @teamLogo.setAttribute 'class', ''
        @teamLogo.setClass @getClassNames logo

  createAccountArea: ->


    @toggleSidebar()


  createTeamLogo: ->

    logo = '/a/images/logos/default_team_logo.svg'

    { groupsController } = kd.singletons
    team = groupsController.getCurrentGroup()

    if team.customize
      logo = team.customize.logo

    className = getClassNames logo

    @teamLogoWrapper.addSubView @teamLogo = new kd.CustomHTMLView
      tagName : 'img'
