invite users boilerplate