init chat client