/tasks mapping works so that it fetch all data from database