remove debugging code
fix more login screen weirdness