Migration of Chat Application from Layer to Firebase