added search functionality in main navbar