Made changes to load collection pages from elasticsearch rather than db