[Fixes #72936492]

1. adjust position for sendNewInstructorJoinLink function in logic
2. remove commented code