SearchController refactoring