Added invite, user creation, and oauth host context support

@supertorio why did we loose the params argument?