:construction: added the conditions functionality in the front-end for firestore