added logging on firebase 2