got rid of localstorage on client side