Adding a better query to the /ping handler