CounselorRoutes component.
Implements role-based access control and navigation.
Redirects students to /studentroute for security.
It includes routes for the main view, profile, help videos, course statistics, and student routes.
Each route is associated with a specific component that will be rendered when the route is accessed.
The '*' route is a catch-all route that will render the CounselorMainView component if no other routes match.
CounselorRoutes component. Implements role-based access control and navigation. Redirects students to /studentroute for security. It includes routes for the main view, profile, help videos, course statistics, and student routes. Each route is associated with a specific component that will be rendered when the route is accessed. The '*' route is a catch-all route that will render the CounselorMainView component if no other routes match.