Search functionality implemented