<div class="ui labeled input" style="padding-bottom: 2px;width: 100%">
                    <a class="ui label" style="width: 135px">Api Key</a>
                    <input type="text" name="apiKey" required="true" placeholder="API Key" <?php 
if (isset($_GET['apiKey'])) {
    echo "value='" . $_GET['apiKey'] . "'";
}
?>
 >
                </div>
                <button class="ui button" style="width: 100%">Set API Key</button>

            </form>
            <?php 
if (isset($_GET['apiKey'])) {
    Bitcodin::setApiToken($_GET['apiKey']);
    $jobs = Job::getList();
    ?>
                <table id='data' class="ui right aligned celled table">
                    <thead>
                        <tr>
                            <th>Thumbnail</th>
                            <th>Encoding ID</th>
                            <th>Input ID</th>
                            <th>Calculate Quality</th>
                        </tr>
                    </thead>
                    <tbody>
                    <?php 
    foreach ($jobs->jobs as $job) {
        if ($job->status == "Finished") {
            ?>