       # replace token with session.clientid
       sessionToken = clientId
 
+      # setting client data
       client =
         sessionToken : sessionToken
         context      : context

_        = require 'underscore'
hat      = require 'hat'
JUser    = require './lib/social/models/user/index'
JAccount = require './lib/social/models/account'


# returns 20 characters by default


generateDummyClient = (context, callback) ->

  # creating session and account
  JSession.createSession (err, data) ->
    callback err  if err

    { session, account } = data
    context ?= { group: session?.groupName ? 'koding' }

    if account instanceof JAccount
