Added functionality for minimal and maximum length passwords. Added even more UI logic to get the user on the correct path. Have corrected some whitespace issues.