"Adds search method for the controllers"