private void btnMainMenu_Click(object sender, EventArgs e)
        {
            this.Hide();
            mainMenu mMenu = new mainMenu();

            mMenu.Show();
        }
        private void btnLogIn_Click(object sender, RoutedEventArgs e)
        {
            bool authorisation = _data.AuthoriseUser(txtUsername.Text, txtPassword.Text);

            if (authorisation)
            {
                mainMenu main = new mainMenu(_data);
                main.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show("Authorisation Failed.", "Connect Transport", MessageBoxButton.OK, MessageBoxImage.Warning);
            }
        }