Get teacher name and userID by class ID