Working with flows
1. what is best way to access the user id in the flow from firebase auth so at the end of the flow i can save the response in firestore.
2. what could be the best way to implement history in the rag so it should read from firestore and save back to firestore .