on () {
        params = getQueryParams();
        requestType({ email: this.params.email });
    };

    function renderType(data) {
        const reasonOptionsDiv = document.getElementById('reasonOptions');
        data.forEach(reason => {
            const label = document.createElement('label');
            const checkbox = document.createElement('input');
            checkbox.type = 'checkbox';
            checkbox.name = 'reason';
            checkbox.value = reason.id;
            label.appendChild(c