fixed login-bug having a white screen