public void OnLogoutClick(object sender, Windows.UI.Xaml.RoutedEventArgs e) { _model.LogOut(); Frame.CacheSize = 0; Frame.Navigate(typeof(LoginPage)); }