Implement API: /users/regsiter.