refactoring
added admin configuration