fixed the ValidationError in case of using session interface of MongoEngine
Some documentation fixes