Adding the search controller.