I am building a react native app and using firestore for the authentication. My authentication code looks like this for registration:
registerUser = () => {