added login failed dialog