duplicated username and email alert improved