worked on autocomplete functionality for invite_user