diff --git a/src/App.jsx b/src/App.jsx
index 637671e..a1804c1 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -10,8 +10,17 @@ import Providers from './private/providers/Providers';
 import Categories from './private/categories/Categories';
 import Admin from './private/mongo/Admin';
 
+import LoginPage from './private/LoginPage';
+import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
+import { useAuth } from './context/AuthContext';
+
+function PrivateRoute({ children }) {
+  const { user } = useAuth();
+  return user ? children : ;
+}
+
 function App() {
-  const [zone, setZone] = useState('public'); // Could be 'public' | 'restricted' | 'private'
+  const [zone, setZone] = useState('public'); // public | restricted | private
   const [currentView, setCurrentView] = useState('Products');
 
   return (
@@ -27,7 +36,7 @@ function App() {
          setCurrentView(view)} />
 
         {/* Main content area */}
-        
+        {/* 
           {zone === 'private' && }
           {zone === 'restricted' && }
 
@@ -36,7 +45,31 @@ function App() {
           {zone === 'public' && currentView === 'Providers' && }
           {zone === 'public' && currentView === 'Categories' && }
           {zone === 'public' && currentView === 'Admin' && }
-        
+         */}
+
+        
+        
+          } />
+
+          
+                {zone === 'private' && }
+                {zone === 'restricted' && }
+
+                {zone === 'public' && currentView === 'Products' && }
+                {zone === 'public' && currentView === 'Clients' && }
+                {zone === 'public' && currentView === 'Providers' && }
+                {zone === 'public' && currentView === 'Categories' && }
+                {zone === 'public' && currentView === 'Admin' && }
+              
+            }
+          />
+        
+      
+
+
         
       
 
diff --git a/src/main.jsx b/src/main.jsx
index 7d50683..4cb3c24 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -5,12 +5,21 @@ import { ThemeProvider } from '@mui/material/styles';
 import theme from './theme';
 import './index.css'
 import App from './App.jsx'
+import { GoogleOAuthProvider } from '@react-oauth/google';
+import { AuthProvider } from './context/AuthContext';
+import { BrowserRouter } from 'react-router-dom';
 
 createRoot(document.getElementById('root')).render(
   
     
       
-        
+        
+          
+             
+               
+             
+          
+        
       
     
   ,
diff --git a/src/private/LoginPage.jsx b/src/private/LoginPage.jsx
new file mode 100644
index 0000000..31c2d78
--- /dev/null
+++ b/src/private/LoginPage.jsx
@@ -0,0 +1,29 @@
+import { GoogleLogin } from '@react-oauth/google';
+import { jwtDecode } from 'jwt-decode';
+import { useAuth } from '../context/AuthContext';
+import { useNavigate } from 'react-router-dom';
+import { Box, Typography } from '@mui/material';
+
+export default function LoginPage() {
+  const { login } = useAuth();
+  const navigate = useNavigate();
+
+  return (
+    
+      
+        Iniciar sesión
+      
+
+       {
+          const user = jwt_decode(credentialResponse.credential);
+          login(user);
+          navigate('/');
+        }}
+        onError={() => {
+          console.log('Error al iniciar sesión');
+        }}
+      />
+    
+  );
+}
\ No newline at end of file