search bar

added search bar and events for it