added a ping endpoint