tasks list done, added middleware