fixed login button bug