added view for classes list by teacher (manually tested)