update username string checking code & comments

now it does what it says on the tin