working client server app