check if url is valid, try the service id if not, closes #11