implement getCurrentTasks method in User class