Async/await not working...?

So I tried that and it came up with an error. I’m not sure I know how to change it when I have an if function in registerUser that is dependent on the information beforehand.