model and controller created for instructors