initialize url connection