added the firebase stuff