added firebase adapter