Implement serach function in UI