added LoginDialog