working end of step 3, with the firebase server like a boss