Check length of string of user to that of the system to avoid a potential weakness of using str[n]cmp issues and thus mitigate XSS potentials in security