changed greet to handshake. Removed register and ping
RESTful client-server communication working