incorporated firebase for chat