check for special characters in user name thanks to @Sarpwus