private void resetAR()
        {
            this.Hide();
            //reset the accident page
            Accident mm = new Accident(id);

            mm.Show();
        }
        //the decider for the main menu form
        private void mDecider(String m)
        {
            switch (m)
            {
            //displays the currently signed in user
            case "display":
                String name = TTStruct.GetName(id);
                loggedIn.Text = "Logged in as: " + name;
                break;

            case "tw":
                this.Hide();
                Weight mm = new Weight(id);
                mm.Show();
                break;

            case "ur":
                this.Hide();
                Receipt r = new Receipt(this.id);
                r.Show();
                break;

            case "ti":
                this.Hide();
                Info i = new Info(id);
                i.Show();
                break;

            case "sr":
                this.Hide();
                Route re = new Route(id);
                re.Show();
                break;

            case "us":
                this.Hide();
                UpdateDate1 us = new UpdateDate1(id);
                us.Show();
                break;

            case "a":
                this.Hide();
                Accident a = new Accident(id);
                a.Show();
                break;

            case "um":
                this.Hide();
                UpdateMileage1 um = new UpdateMileage1(id);
                um.Show();
                break;
            }
        }