Added Ping request to server codes