This commit implements the role-based access control middleware and authentication routes as per the project's requirements. It includes: