Fixed login page bug