- Enrich context with user roles, permissions, and resources from Logto. - Update setAuth function to handle JWT decoding and user data retrieval. - Refactor initGuard to utilize new auth structure. - Modify resource and role services to support new data types and error handling.