Added cookies storing support for referrer