add firebase-based demo