       client.sessionToken         = newToken
       client.connection.delegate  = account
 
-      fetchGroup client, (group) ->
+      fetchOrCreateGroup client, opts, (group) ->
         if opts?.userFormData?
         then callback { client, user, account, group, sessionToken : newToken }
         else callback { client, user, account, group, sessionToken : newToken, userFormData }

    callback relationship


fetchGroup = (client, callback) ->

  JGroup.one { slug : client?.context?.group }, (err, group) ->
    expect(err).to.not.exist
    callback group


expectRelation = {

  expect
  KONFIG
  ObjectId
  expectRelation
  withDummyClient
  withCreatedUser
