def get_id(self):
    return self.id

def is_active(self):
    return self.is_active

def activate_user(self):
    self.is_active = True

def get_username(self):
    return self.username

def get_urole(self):
    return self.urole
Implementing Flask-Login with multiple User Classes