Provide a search function to UI