private void ToolStripMenuItemMainSelectMatch_Click(object sender, EventArgs e)
        {
            MatchSelectWindow matchSelectWindow = new MatchSelectWindow(user);

            matchSelectWindow.Show();
            this.Close();
        }
        private void BtnLogin_Click(object sender, EventArgs e)
        {
            string username = tbLoginUsername.Text;
            string password = tbLoginPassword.Text;

            if (SqLite.IsLoginSuccessful(username, password))
            {
                User user = SqLite.QueryLoggedInUser(username);
                if (user.AccountTypeId == 3)
                {
                    var developerWindow = new DeveloperWindow();
                    this.Close();
                    developerWindow.Show();
                }
                else
                {
                    MatchSelectWindow matchSelectWindow = new MatchSelectWindow(user);
                    this.Close();
                    matchSelectWindow.Show();
                }
            }
            else
            {
                tbLoginUsername.Clear();
                tbLoginPassword.Clear();
                MessageBox.Show("Invalid username or password");
            }
        }