set login to launcher activity and fixed intent bug