removing localstorage
setting the url for the backend