more unit tests for user service, also refactor hard-coded messages to ValidationMessages.js