initializing firebase observer