added a way to view and clear localStorage