login page quit after loading