changed invite link into a search