A terminal chat using firebase as server