Moved the error popup for logons to the popupwindow class.