move invitPeople to user api