extract the cookie value for session id
send session id as cookie instead of json element for all requests