fixing login page bug