(security) Added flask-security layer