use firebase to make a simple chat