chat client working