show join link for admin and instructor adding for testing purpose

This block was previously inside a loop. Now it is outside the loop. Doesn't that affect how this works?