authentication works fine. just needed curl.these changes should be final