setting up routes for teachers and students