Teacher can only view own courses