`inviteUser` is asynchronous so you can't just call it and plough straight on. Also some logging improvements which helped debug this
`inviteUser` is asynchronous so you can't just call it and plough straight on. Also some logging improvements which helped debug this