- Introduced `useAuthentication` hook to handle session state, PIN verification, and offline mode logic.
- Updated `useRouter` to include type definitions for better navigation instance typing.
- Refined authentication flow with error handling, user session initialization, and token validation.