fixed login page bug