:construction: added the firebase conditions to the model and the UI