login page bug fix