How to use firestore. The doc method returns a DocumentReference.