processing cookie