refactoring User#create validation