Work on MongoDB access for categories