added search bar on main view