Adding and removing data from a URL