There is repeated code where the user enters an incorrect password that should be combined into one method.
There is repeated code where the user enters an incorrect password that should be combined into one method.