Add the following three AJAX event handlers to handle completion, failure, and successful login attempts: } 02 function success(){ alert("Login Succeeded"); .