add localstorage for user related vars