add search functionality to front page