added a view for the search action