added last teacher and student views