Add controller for teacher and student