invite people using auto complete (token_input_field_tag)
when profile is community, invite new member. When profile is person, invite new friend.
In edit community, the admin can set that members can't invite new people.
When members can invite, the default option is that members can invite any person, but admin can define that the member can invite only his own friends.