Part 2: Protecting Routes and Role-Based Authorization Using JWT

protecting routes and implementing role-based authorization using the JWT tokens