user validation with encryption