Changed a lot of the callback syntax for auth to async/await (fixes some weird errors with regards to error throwing like when the calling function goes out of scope which means the try-catch is no longer available, and then the callback is executed and throws an error which crashes the app)
In this PR:
Not done yet: