I have mongoengine collection with following schema:
class User(Document): username = StringField(max_length=200, unique=True, required=True) password = B