code: def add_user(self, **kwargs):
          
          user = self.UserClass(**kwargs)
          if hasattr(user, 'active'):
              user.active = True
          self.db_adapter.add_object(user)
          return user
docs: Add a User object, with properties specified in ``**kwargs``.