moving all search to home page; sanitizing query string