Implement the login dialog and about dialog.