Firebase logging refactored to its' own file