added ability to clear cookies.