   {externalProfiles} = KD.config
 
   constructor:(options = {}, data)->
-
-    options.view    = new MembersMainView
+    options.view    = new KDView
       cssClass      : 'content-page members'
     options.appInfo =
       name          : 'Members'


    @on "LazyLoadThresholdReached", => @feedController?.loadFeed()

  createContentDisplay:(account, callback=->)->
    KD.singletons.appManager.setFrontApp this
    contentDisplay = new KDView
      cssClass : 'member content-display'
      type     : 'profile'
    contentDisplay.on 'handleQuery', (query)=>
      @ready => @feedController?.handleQuery? query

    contentDisplay.once 'KDObjectWillBeDestroyed', ->
      KD.singleton('appManager').tell 'Activity', 'resetProfileLastTo'

    {JAccount} = KD.remote.api
    if account instanceof JAccount
      @addProfileView contentDisplay, account
      @addActivityView contentDisplay, account
    else
      @addActivityView contentDisplay, KD.whoami()
    @showContentDisplay contentDisplay
    @utils.defer -> callback contentDisplay

  addActivityView:(view, account)->
    view.$('div.lazy').remove()
    windowController = KD.getSingleton('windowController')

    if KD.whoami().getId() is account.getId()
      owner   = "you"
      auxVerb =
        have : "have"

          listControllerClass: MembersListViewController
          listCssClass       : "member-related"
          dataSource         : (selector, options, callback)=>
            group = KD.getGroup()
            group.fetchMembers selector, options, (err, res)=>
              KD.mixpanel "Load member list, success"  unless err
              callback err, res
