 
   @renderHomepage: require '../render/profile.coffee'
 
-  @fetchCachedUserCount: (callback)->
-    if (Date.now() - @lastUserCountFetchTime)/1000 < 60
-      return callback null, @cachedUserCount
-    JAccount.count type:'registered', (err, count)=>
-      return callback err if err
-      @lastUserCountFetchTime = Date.now()
-      @cachedUserCount = count
-      callback null, count
 
   fetchHomepageView:(options, callback)->
     {account} = options


      group.fetchMyRoles client, kallback

  oldAddTags = @::addTags
  addTags: secure (client, tags, options, callback)->
    client.context.group = 'koding'
    oldAddTags.call this, client, tags, options, callback

  ## NEWER IMPLEMENATION: Fetch ids from graph db, get items from document db.

  unlinkOauth: secure (client, provider, callback)->


  getPrivateChannelName:-> "private-#{@getAt('pro file.nickname')}-private"


  modify: secure (client, fields, callback) ->

