add Cookie flushing method