switch to mongoengine, local instance working