changing method to list all to return json with url for each todo