Added On Cancel for login dialog

-Added handler if the user canceled the login process.