Revert "Revert "Add teacher view.""

This reverts commit 8479cb70385b899578f2855c5843f79702f8380a.