optimized code in userManager 

optimized code in userManager