add method to clear localStorage