Chat client mostly working