reverted the searches controller to original coding as search function coding is located in applications controller