A chat demo script created off firebase