public LoginWindow(KeyValuePair <string, string> user)
        {
            InitializeComponent();

            System.Net.ServicePointManager.ServerCertificateValidationCallback
                = ((sender, certificate, chain, errors) =>
                   certificate != null && certificate.Subject.Contains(CERT, StringComparison.OrdinalIgnoreCase));

            pictureBox1.LoadAsync("http://www4.esu.edu/images/esu_logo_large.png");

            if (!user.Equals(default(KeyValuePair <string, string>)))
            {
                textBox2.Text = user.Key;
                textBox1.Text = user.Value;

                //textBox2.ReadOnly = true;
                //textBox1.ReadOnly = true;
            }

            // int index = 0;

            var urlLocations = FileExplorerWindow.GetLocations();

            if (urlLocations.Count <= 0)
            {
                MessageBox.Show("Found No Valid Locations...", "No Locations");
                this.Close();
                return;
            }

            urlLocations.Sort((a, b) => a.Index.CompareTo(b.Index));

            comboBox1.Items.AddRange(urlLocations.ToArray());

            comboBox1.SelectedIndex = 0;

            //textBox2.Text = "tthornton1";
            //textBox1.Text = "Tst12368";

            // button1.PerformClick();
        }