refactored the SmugMug ping service call