Student and Teacher controller