Refactoring - use autowire
Active condition for users allowed