corrected teacher & class edit view -> next step: students