           queue.next()
 
       ->
-        loginHelper.validateLoginCredentials {
+        validateLoginCredentials {
           username, password, tfcode
         }, queue, callback, (user_) -> user = user_
 

        # # user is member, check validity
        # # user is not member, and trying to access with invitationToken
        # both should succeed
        loginHelper.fetchInvitationByCode invitationToken, queue, callback, (invitation_) ->
          invitation = invitation_

      ->
        loginHelper.fetchInvitationByData {
          user, groupName, invitationToken
        }, queue, callback, (invitation_) -> invitation = invitation_


          queue.next()

      ->
        fetchSession {
          clientId, username
        }, queue, callback, (session_) ->
          session = session_
