added clear data from local storage function