add a number of basic functionalities to test password strength