add the relevant php and html for search function