logging url for fetchRecords function