fix User#doTasks (NullPointerExc)