adding api calls , step -2 : implementing GET tasks api call