flask-security implementation
update flask-security config