added search bar but not working properly