add duplicate validation
Change 'edit' profile to 'view'