validate cookies