making user manager work in setTimeout initiated threads.