added LOCATION_URL to take the location in the URL