 
         # if everything is fine, just continue
         queue.next()
-        console.log 1
 
     , ->
       # fetch account of the user, we will use it later

        @addToGroup account, groupName, null, null, (err)=>
          return callback err  if err
          queue.next()
          console.log 3


    , =>
      # check for membership

      session.update { $set : {groupName} }, (err) ->
        return callback err  if err
        queue.next()

    , =>
      # continue login
      afterLogin user, clientId, session, (err, response) ->
