Research how Context API provides global state management. Implement a small example using useReducer to handle user authentication (login/logout). Demonstrate how this approach could be applied in ...