private async Task TryLogIn()
        {
            do
            {
                loginViewModel.Password?.Clear();

                if (dialogPresenter.ShowModal(loginViewModel) != true)
                    return;

                var communicationResult = await authenticationService.LogIn(loginViewModel.Username, loginViewModel.Password);

                if (!communicationResult.Success)
                    loginViewModel.ErrorMessage = communicationResult.Message;
            } while (!authenticationService.IsLoggedIn);
        }