invite users specs and test added