added call to clear cookies.