working client, server, and firebase demo