added search caching and deferreds to search and view all calls.