changing url params to localstorage params