Implement the user invitation method

Now I have the endpoint, now this should work.