added custom config and security managers