private void buttonFindARide_Click(object sender, EventArgs e)
        {
            controlRidePage = new ControlRidePage();

            controlRidePage.AddLogoutButton(buttonLogout);
            controlRidePage.AddBackButton(buttonBack);
            panelMain.Controls.Clear();
            panelMain.Controls.Add(controlRidePage);
        }
        private void buttonFindARide_Click()
        {
            controlRidePage = new ControlRidePage();

            controlRidePage.AddLogoutButton(buttonLogout);
            controlRidePage.AddBackButton(buttonBack);
            panelMain.Controls.Clear();
            panelMain.Controls.Add(controlRidePage);
            new Thread(controlRidePage.CreateLocationsList).Start();
        }