made class page only viewable to its own teacher