create a small chat app