fixed login pupup visibility issue