add interface to clear cookie