store category list in memory so as to save a query on every request for categories