replaced local storage with urls