Example of localstorage and sessionstorage usage