client server communication working