added ping api endpoints