Added support for setting user metadata.

Tested locally. And appears to work fine. Let me know if you need more.