add search box functionality