Chat client and the server