expanding Set Cookie functionality