added search functionality

added search functionality