bug fix:
    user can't login when he has multiple invitations