Added a custom login dialog.