     super options, data
 
     @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
+
+    @addProfileView contentDisplay, account
+    @addActivityView contentDisplay, account
+    @showContentDisplay contentDisplay
+    @utils.defer -> callback contentDisplay
+
+  addActivityView:(view, account)->
+    view.$('div.lazy').remove()
+    windowController = KD.getSingleton('windowController')
+
+    KD.getSingleton("appManager").tell 'Feeder', 'createContentFeedController', {
+      itemClass             : ActivityListItemView
+      listControllerClass   : MemberActivityListController
+      listCssClass          : "activity-related"
+      limitPerPage          : 8
+      useHeaderNav          : yes
+      delegate              : this
+      creator               : account
+      filter                :
+        statuses            :
+          noItemFoundText   : "#{KD.utils.getFullnameFromAccount account} has not shared any posts yet."
+          dataSource        : (selector, options = {}, callback)=>
+            options.originId = account.getId()
+            KD.getSingleton("appManager").tell 'Activity', 'fetchActivitiesProfilePage', options, callback
+        followers           :
+          loggedInOnly      : yes
+          itemClass          : GroupMembersPageListItemView
+          listControllerClass: MembersListViewController
+          noItemFoundText   : "No one is following #{KD.utils.getFullnameFromAccount account} yet."
+          dataSource        : (selector, options, callback)=>
+            options.groupId or= KD.getSingleton('groupsController').getCurrentGroup().getId()
+            account.fetchFollowersWithRelationship selector, options, callback
+
+            account.countFollowersWithRelationship selector, (err, count)=>
+              @setCurrentViewNumber 'followers', count
+        following           :
+          loggedInOnly      : yes
+          itemClass          : GroupMembersPageListItemView
+          listControllerClass: MembersListViewController
+          noItemFoundText   : "#{KD.utils.getFullnameFromAccount account} is not following anyone."
+          dataSource        : (selector, options, callback)=>
+            options.groupId or= KD.getSingleton('groupsController').getCurrentGroup().getId()
+            account.fetchFollowingWithRelationship selector, options, callback
+
+            account.countFollowingWithRelationship selector, (err, count)=>
+              @setCurrentViewNumber 'following', count
+        likes               :
+          loggedInOnly      : yes
+          noItemFoundText   : "#{KD.utils.getFullnameFromAccount account} has not liked any posts yet."
+          dataSource        : (selector, options, callback)->
+            selector = {sourceName: $in: ['JNewStatusUpdate']}
+            account.fetchLikedContents options, selector, callback
+      sort                  :
+        'modifiedAt'        :
+          title             : "Latest activity"
+          direction         : -1
+        'counts.followers'  :
+          title             : "Most followers"
+          direction         : -1
+        'counts.following'  :
+          title             : "Most following"
+          direction         : -1
+        'timestamp|new'     :
+          title             : 'Latest activity'
+          direction         : -1
+        'timestamp|old'     :
+          title             : 'Most activity'
+          direction         : 1
+    }, (controller)=>
+      @feedController = controller
+      view.addSubView controller.getView()
+      view.setCss minHeight : windowController.winHeight
+      @emit 'ready'
+
+  addProfileView:(view, member)->
+    options      =
+      cssClass   : "profilearea clearfix"
+      delegate   : view
+
+    if KD.isMine member
+      options.cssClass = KD.utils.curry "own-profile", options.cssClass
+    else
+      options.bind = "mouseenter" unless KD.isMine member
+
+    return view.addSubView memberProfile = new ProfileView options, member
 
   createFeed:(view, loadFeed = no)->
     @appManager.tell 'Feeder', 'createContentFeedController', {

      mainView.createCommons()
    @createFeed mainView, loadFeed


  createContentDisplay:(account, callback)->

    KD.singletons.appManager.setFrontApp this
    controller     = new ContentDisplayControllerMember {delegate:this}, account
    contentDisplay = controller.getView()
    contentDisplay.on 'handleQuery', (query)=>
      controller.ready -> controller.feedController?.handleQuery? query
    @showContentDisplay contentDisplay
    @utils.defer -> callback contentDisplay


  createContentDisplayWithOptions:(options, callback)->
    {model, route, query} = options
    kallback = (contentDisplay, controller)=>
      # needed to remove the member display which comes as HTML
      unless KD.getSingleton('router').openRoutes[KD.config.entryPoint?.slug]
        memberDisplay = document.getElementById('member-contentdisplay')
        memberDisplay?.parentNode.removeChild(memberDisplay)

      contentDisplay.on 'handleQuery', (query)->
        controller.ready -> controller.handleQuery? query
      callback contentDisplay

    switch route.split('/')[2]
      when 'Followers'
        @createFolloweeContentDisplay model, 'followers', kallback
      when 'Following'
        @createFolloweeContentDisplay model, 'following', kallback
      when 'Likes'
        @createLikedContentDisplay model, kallback

  showContentDisplay:(contentDisplay)->

    KD.singleton('display').emit "ContentDisplayWantsToBeShown", contentDisplay

          @setCurrentViewHeader count

      KD.mixpanel "Load member list, success"

  loadView:(mainView, firstRun = yes, loadFeed = no)->
    if firstRun
