it sends cookies if present