two firebase examples