Removed unnecessary code for search bar