UserService.

Created userservice documentation and class.
Moved crypt options to global scope.