Completed user REST APIs

Completed user REST APIs
Can you add a TODO that checks if the hostname is unique