updated to use UserManager