Added view method in SearchController