switch chat over to firebase