Linking users to class