Added a popup if the login fails.