Added character classes, added some verification for the user, but the code does not work corectly