add firebase support