user migration and validation rules