ugly hack to get loginView to show