Added a getUserTasks() method.