Add friend search functionality.