Project: redux
Task (moderate): 1) Add models/route.ts to control the Route Logic
The definition of state is:
```
interface RouteState {
  currentRoute: string;
}
```
The initial state of route will be the pathname of the current page.
2) Write middleware/route.ts, listen to browser history change, and update the currentRoute in store.
3) When path is '/', shows Main.tsx, when path is '/login', shows pages/Login.tsx. Header is visible for every page.
4) Render <h1>User Login</h1> in components/Login.tsx. Add Button with text '🔑' in the right of Header.tsx, when clicked, go to '/login'.
Constraint: DO NOT USE any third-party packages, ONLY React/Redux APIs can be used to optimize performance.