Latest changes to hw-4 to use firebase.