Error handling for the register user service.
Merge pull request #23 from fbouquet/error_handling_register

Error handling for the register user service.