added ping command to client