add controller for search result