security acess for lecturers added.

bugs fixed