Got mostly the chat app working