Added cookieValidation.