add clear method for cookies