Added firebase support