invites to users
refactored-invite(d).js