badly working chat client