diff --git a/djlearn/djlearn/settings.py b/djlearn/djlearn/settings.py
index d5d5a0e..36ae822 100644
--- a/djlearn/djlearn/settings.py
+++ b/djlearn/djlearn/settings.py
@@ -125,3 +125,6 @@ STATIC_URL = '/static/'
 # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
 
 DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
+
+
+LOGIN_REDIRECT_URL = '/'
\ No newline at end of file
diff --git a/djlearn/pages/static/css/landing.css b/djlearn/pages/static/css/landing.css
index dc7c345..65e87af 100644
--- a/djlearn/pages/static/css/landing.css
+++ b/djlearn/pages/static/css/landing.css
@@ -104,10 +104,31 @@ footer p {
 .header {
     width: 100vw;
     display: flex;
-    flex-direction: row;
+    flex-flow: row;
     position: absolute;
 }
-  
+
+.header-left {
+    flex: 1;
+    display: flex;
+    justify-content: flex-start;
+    align-items: center;
+}
+
+.header-center {
+    flex: 1;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+}
+
+.header-right {
+    flex: 1;
+    display: flex;
+    justify-content: flex-end;
+    align-items: center;
+}
+
 .header-link {
     color: white;
     margin: 1rem;
@@ -121,14 +142,12 @@ footer p {
     text-decoration-color: red;
     text-underline-offset: 0.2em;
 }
-  
+
 .header-text {
-    margin: 1rem 1rem 1rem auto;
     font-size: 1rem;
-    color: #ccc;
 }
 
-#logo {
+#logo-img {
     width: 50px;
     height: 50px;
 }
\ No newline at end of file
diff --git a/djlearn/pages/templates/pages/index.html b/djlearn/pages/templates/pages/index.html
index cfe3e7d..a0d0edf 100644
--- a/djlearn/pages/templates/pages/index.html
+++ b/djlearn/pages/templates/pages/index.html
@@ -13,13 +13,21 @@
     <body>
 
         <header class="header shade">
-            <div>
-                <a href="/"><img id="logo" src="{% static 'img/logo.png' %}" alt="Logo"></a>
+            <!-- left -->
+            <div class="header-left">
+                <a href="/"><img id="logo-img" src="{% static 'img/logo.png' %}" alt="Logo"></a>
+            </div>
+            <!-- center -->
+            <div class="header-center">
+                Test
+            </div>
+            <!-- right -->
+            <div class="header-right">
+                <span class="header-text">Sign in:</span>
+                <a href="/auth/login/" class="header-link">PyHub</a>
+                <a href="#" class="header-link">Github</a>
+                <a href="#" class="header-link">Twitter</a>
             </div>
-            <div class="header-text">Sign in:</div>
-            <a href="/login" class="header-link">PyHub</a>
-            <a href="#" class="header-link">Github</a>
-            <a href="#" class="header-link">Twitter</a>
         </header>
 
         <section class="landing-section landing-bg">
diff --git a/djlearn/pages/templates/pages/login.html b/djlearn/pages/templates/registration/login.html
similarity index 92%
rename from djlearn/pages/templates/pages/login.html
rename to djlearn/pages/templates/registration/login.html
index 3c3eef0..b88582e 100644
--- a/djlearn/pages/templates/pages/login.html
+++ b/djlearn/pages/templates/registration/login.html
@@ -21,8 +21,12 @@
             <div class="login-section-content shade">
                 <h1 class="brand">&lt;PyHub Login&gt;</h1>
                 <form class="login-form" method="post" action="">
+                    {% csrf_token %}
+                    {{ form.as_p }}
+                    <!--
                     <span><input class="login-input" type="text" name="login" value="" placeholder="Username or Email"></span>
                     <span><input class="login-input" type="password" name="password" value="" placeholder="Password"></span>
+                    -->
                     <div class="spaced">
                         <span class="remember_me">
                             <label><input type="checkbox" name="remember_me" id="remember_me">Remember me</label>
diff --git a/djlearn/pages/urls.py b/djlearn/pages/urls.py
index 3346fc3..f7703c8 100644
--- a/djlearn/pages/urls.py
+++ b/djlearn/pages/urls.py
@@ -1,7 +1,7 @@
-from django.urls import path
+from django.urls import path, include
 from . import views
 
 urlpatterns = [
     path('', views.index, name='index'),
-    path('login/', views.login, name='login'),
+    path('auth/', include('django.contrib.auth.urls')),
 ]
\ No newline at end of file