1.modified login/logout process 2.repair main App some bug