Fixed bug with webpage code, PasswordValidator improved