Adds a controller for handling search requests