Added userRegister for RESTapi

You can register a user automatically on your site.