public async Task LogIn() { try { ErrorMessage = ""; await _accountHelper.LogIn(UserName, Password); _events.PublishOnUIThread(new LogOnEventModel()); } catch (Exception ex) { ErrorMessage = ex.Message; } }