Search button functionality implemented