private async void LogInCommandExecuted()
        {
            try
            {
                if (!string.IsNullOrWhiteSpace(User))
                {
                    if ((!string.IsNullOrWhiteSpace(Password)))
                    {
                        if (Validator.ValidateLegth(User))
                        {
                            if (Validator.ValidatePassword(Password))
                            {
                                var response = await login.DoLogin(User, Password);

                                if (response != null)
                                {
                                    App.Current.MainPage = new NavigationPage(new Views.Principal.HomePage());
                                }
                                else
                                {
                                    await snack.SnackError("usuario no encontrado");
                                }
                            }
                            else
                            {
                                await snack.SnackError("Ingrese una contraseña correcta");
                            }
                        }
                        else
                        {
                            await snack.SnackError("Ingrese un usuario correcto");
                        }
                    }
                    else
                    {
                        await snack.SnackError("Ingrese una contraseña");
                    }
                }
                else
                {
                    await snack.SnackError("Ingrese un usuario");
                }
            }
            catch (Exception ex)
            {
                throw;
            }
        }