Refactor User#validate for clarity