Added userRegister for RESTapi

You can register a user automatically on your site.
Merge pull request #9 from vicdoz/patch-1

Added userRegister for RESTapi