changes client server communication
clean up