hook up the chat to firebase