Validation for userservice 2.0

Updated to allow for app specific error messages.