Subject controller and teacher view