 
 
 module.exports = (options={}, callback)->
-  {client, entryPoint, params} = options
+  {client, entryPoint, params, session} = options
+  {clientId: sessionToken} = session
 
   defaultOptions =
     limit: 5

    SocialChannel.fetchBotChannel client, cb

  fetchGroupActivities = (cb)->
    SocialChannel.fetchGroupActivities client, {}, cb

  fetchChannelActivities = (channelName, cb)->
    # fetch channel first

      return cb { message: "channel is not set" } unless data?.channel

      # then fetch activity with channel id
      SocialChannel.fetchActivities client, {id: data.channel.id, sessionToken}, cb

  fetchProfileFeed = (client, params, cb)->
    JAccount.one {'profile.nickname': entryPoint.slug}, (err, account)->
