implement clearCookie