Added sample firebase code.