implemented view of search results
fixed list resources to return all documents