add cookie validation