got the subview rendering correctly and also setup firebase with matts help