Implemented user creation API.