upadate on "getUserTasks" procedure to account for a null value as a limit