Catching a bad credentials Exception.

When you enter a wrong password, an uncaught exception is thrown. I caught the exception and ask the user to re-enter the password.