works with principal and flask-admin