allow the search form to work even in controllers created in the main application