finish instructorPrivileges
adding test for instructorPrivileges
adjustment of js
further adjustment of js