fix missing variable $userManager