debugging commit - sessions for mongoengine.