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

          queue.next()

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


          queue.next()

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