Added teacher view feature