Update userService.js

Many errors :
- Still not applying code style rules
- Forgot about error management
- strange name conventions
- Require unused libraries