private async Task <bool> Login() { string errorString = ""; errorString += ErrorController.IsNull(Email, "Email"); errorString += ErrorController.IsEmail(Email, "Email"); errorString += ErrorController.IsNull(Password, "Password"); if (String.IsNullOrEmpty(errorString)) { UserController.SetLoginUserEmail(Email); errorString += await UserController.Login(Password); } if (!String.IsNullOrEmpty(errorString)) { Error = errorString; return(false); } else { await UserController.GetUserInfos(); await UserController.GetUserAccounts(); await TwitterController.SetToken(); return(true); } }