converting to use mongoengine user model