first messages to server are working

DATA still needs fixing