updated service url handling so it doesn't start with api/scheduling