AttributeError: 'UserDB' object has no attribute 'hash_userid'