if 'userInfo' is a team admin then in addition to removing the member also delete any existing invitations.