Desired behavior:
I would like to have a method that verify the email address with firebase to throw some error if the email is used/invalid.
createUserWithEmailAndPassword(email, password) does not seem to do the job as I would only want to create the account if the user passes a phone verification on the second page, but I would like to throw some error before the user navigates to the second page.