user_data = [
    {
        'teacher': ('Nico', 'Zickgraf',),
        'class': 'FLID2018a',
        'code': 'XXXX',
        'students': [
            ('Robin', 'Abbühl'),
            ('Zeynep', 'Catal'),
            ('Rahel', 'Cueni'),
            ('Ismatou', 'Diallo'),
            ('Mischa', 'Frech'),
            ('Melody', 'Merz'),
            ('Joelle', 'Perren'),
            ('Luca', 'Rutschmann'),
            ('Selina', 'Teuscher'),
            ('Kelly', 'To'),
            ('Deborah', 'Waldmeier'),
            ('Rahel', 'Weiss'),
            ('Cindy', 'Zimmermann'),
        ]
    },
    {
        'teacher': ('Michael', 'Gurtner',),
        'class': 'KF1A',
        'code': 'YYYY',
        'students': [
            ('Lisa', 'Arn'),
            ('Machado', 'Fernandes'),
            ('Sandro', 'Gyger'),
            ('Alain', 'Hofer'),
            ('Adrian', 'Luder'),
            ('Louis', 'Scherer'),
            ('Xhavit', 'Shala'),
            ('Marc', 'Uebersax'),
            ('Roman', 'Weber'),
        ]
    }
]
