adding firebase support