add search control to some pages and configure web config