updated TaskManager

fixed login bug