added initial code for storing urls in localStorage