Updated custom pages to use SQLConnection instead of MySqlConnection