add log localstorage