fix login page bug