private async Task LoginCommandExecute() { try { var user = await _userapi.Authenticate(Mail, Password); if (user != null) { User.AccessToken = user.Token; } await _navigationService.SelectTabAsync(nameof(View.CheckListPage)); } catch (Exception ex) { _messageBoxService.ShowAlert("Error", "Login fail. Please try later", "Ok"); Console.WriteLine(ex.Message); await _navigationService.GoBackAsync(); } }