Extracted teacher and student HTTP routes to teacher.js and student.js