Implement web API for user registration