## Goal Implement the Login and Register user flows and establish one shared mock session/current-user state for Delivery 1. ## Tasks - Build the `/login` page using shared Field and Button components. - Build the `/register` page using shared Field and Button components. - Add basic client-side validation. - Add navigation links between Login and Register. - Set a mock current-user session after successful login or registration. - Navigate to Explore after successful authentication. - Update the header to reflect the logged-in user. - Add sign-out and clear the mock session. ## Acceptance criteria - [ ] Login and Register work through direct URLs. - [ ] Login and Register are reachable through the header. - [ ] Shared Field and Button components are reused. - [ ] Required fields are validated. - [ ] Validation errors are visible and associated with their fields. - [ ] Successful login navigates to Explore. - [ ] Successful registration navigates to Explore. - [ ] The header reflects the logged-in state. - [ ] Sign-out clears the mock session. - [ ] No real credentials are stored or verified. - [ ] Typecheck, lint, tests and build pass. ## Dependencies Depends on D1-03 and D1-04. ## Implementation note Authentication is intentionally mocked for Delivery 1. This issue does not implement password storage, backend authentication or security tokens.