private void LogoutBtn_Click(object sender, RoutedEventArgs e) { Register r = new Register(_context); r.Show(); }