Added login dialog.