send and recieve messages
socket auth