implementing clear method

implementing the clear method for the hun and for the client for cleaning the local storage