storing of modules and pages to mongo now work