implement a chat app for the test