will correctly detect that user1 is an invalid username in the examples