refactored validation

For User the validation is in the domain model classes