Implementerer chat-klient + fiks i server.