added Firebase support