private void Signout_Click(object sender, RoutedEventArgs e)
 {
     if (principleUser != null)
     {
         SharedFunctions.LogOffAndGoHome(this);
     }
 }
 private void ExitFromDetails_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     if (principleUser != null)
     {
         SharedFunctions.LogOffAndGoHome(this);
     }
 }