contract validation and renaming users to delegated_users