url encoding everything and decoding it as well