Updated login to show dialog boxes instead.