add cookie in curl
sync