Built a chat app using polling and Firebase