added test pages for principal
integrated role management from config files