add netwokr tuggleswitch in loginpage,move loginsetting to Class BuSetting