Introduction - If you have any usage issues, please Google them yourself
/*
The new Password class that
(1) Allow at most two consecutive failure in entering correct password.
After the third time, login is disabled.
(2) Check if a new password contains at least 1 digit and 1 character
*/