more interfacing for chat client/server