add multi-thred to promote performance of ui thread and login operation