fixed login screen so modal view dismisses