Inject userManager and  defaults