firebase is a piece of shit