provide example for user creation through rest api