Added role configuration and security