//todo log all curl calls