Adding url encoding