DNN-5874 Check if unique display name is required in user editor

These two modifications check if the Display Name is already used by another user and if the site settings require unique display names. If so, it stops processing and shows a localized message, if not the normal code continues unaltered.
I did  mistake here, it should be Display Name and not User Name, should I submit a new pull request or can this be corrected another way?