diff --git a/public/css/styles.css b/public/css/styles.css
index 08a8732..bf69841 100644
--- a/public/css/styles.css
+++ b/public/css/styles.css
@@ -209,4 +209,42 @@ img.yuvarlak {
 img.logo {
   width: 266px;
   height: 75px;
-}
\ No newline at end of file
+}
+
+
+/*
+*****************************
+           FOOTER
+*****************************
+*/
+.footer {
+  position: fixed;
+  left: 0;
+  bottom: 0;
+  width: 100%;
+  background-color: var(--col-8);
+  color: white;
+  text-align: center;
+}
+
+.footer p {
+
+  font-size: 16px;
+  color: white;
+
+}
+
+/*
+*****************************
+         ADMIN TEXT
+*****************************
+*/
+.admin {
+  position: fixed;
+  left: 0;
+  top: 0;
+  width: 100%;
+  background-color: var(--col-12);
+  color: white;
+  text-align: center;
+}
diff --git a/public/js/scripts.js b/public/js/scripts.js
index 4076f41..2e0c071 100644
--- a/public/js/scripts.js
+++ b/public/js/scripts.js
@@ -1,2 +1,2 @@
 const admin = () => document.getElementById("admin").innerHTML =
-    '<a href="/admin"> <h3> You are admin, and you can go your page </h3></a><br>';
+    '<div class="admin"><a class="admin" href="/admin"> <h3> You are admin, and you can go your page </h3></a></div><hr>';
diff --git a/views/admin.ejs b/views/admin.ejs
index 9f5f4c1..41056a0 100644
--- a/views/admin.ejs
+++ b/views/admin.ejs
@@ -1,66 +1,28 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-    <link rel="stylesheet" href="/css/styles.css" />
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Admin panel!</title>
-    <meta name="description" content="Admin panel of Akf-forum!">
-    <meta name="author" content="Akif9748">
-    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
+<%- include("extra/header", {title: "Admin panel!" }) %>
 
-</head>
+    <body>
 
+        <%- include("extra/navbar", {user}) %>
 
-<body>
+            <h1>Welcome to the admin panel of the forum, <%= user.name %>!</h1>
 
+            <form action="/admin/" method="POST">
+                <h2>Write an ID for make admin:</h2>
+                <input name="userid"></input>
+                <hr>
+                <button class="buyuk" type="submit">Make admin!</button>
+            </form>
 
-    <!-- Navbar: -->
+            <script>
+                if (<%= user2.admin %>)
+                alert("Making admin of '<%= user2.name %>' is success");
+            </script>
 
+            <%- include("extra/footer") %>
 
-    <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
-
-
-    <div class="navbar" id="navbar">
-
-        <a href="/threads">THREADS</a>
-        <a href="/users">USERS</a>
-        <a href="/search">SEARCH</a>
-        <a href="/threads/open/">OPEN THREAD</a>
-
-        <div style="float: right;" class="user" id="user">
-            <a href=<%=user.getLink() %>>
-                <h1>
-                    <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
-                </h1>
-            </a>
-        </div>
-
-    </div>
-
-
-
-    <hr>
-
-    <!-- Navbar end -->
-
-
-
-    <h1>Welcome to the admin panel of the forum, <%= user.name %>!</h1>
-
-    <form action="/admin/" method="POST">
-        <h2>Write an ID for make admin:</h2>
-        <input name="userid"></input>
-        <hr>
-        <button class="buyuk" type="submit">Make admin!</button>
-    </form>
-
-    <script>
-        if (<%= user2.admin %>) 
-            alert("Making admin of '<%= user2.name %>'' is success");
-    </script>
-    <!-- This website is powered by AKF-Forum -->
-</body>
+    </body>
 
 </html>
\ No newline at end of file
diff --git a/views/error.ejs b/views/error.ejs
index 0a9d20f..45d9497 100644
--- a/views/error.ejs
+++ b/views/error.ejs
@@ -31,7 +31,7 @@
 
 
 
-    <!-- This website is powered by AKF-Forum -->
+  <%- include("extra/footer") %>
 </body>
 
 </html>
\ No newline at end of file
diff --git a/views/extra/footer.ejs b/views/extra/footer.ejs
new file mode 100644
index 0000000..6d72306
--- /dev/null
+++ b/views/extra/footer.ejs
@@ -0,0 +1,4 @@
+<!-- This website is powered by AKF-Forum -->
+<div class="footer">
+    <p>This website is powered by AKF-Forum</p>
+</div>
\ No newline at end of file
diff --git a/views/extra/header.ejs b/views/extra/header.ejs
new file mode 100644
index 0000000..5b3d6a4
--- /dev/null
+++ b/views/extra/header.ejs
@@ -0,0 +1,10 @@
+<head>
+    <link rel="stylesheet" href="/css/styles.css" />
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title><%= title ?? "Akf-forum" %> </title>
+    <meta name="description" content="Akf-forum!">
+    <meta name="author" content="Akif9748">
+    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
+</head>
\ No newline at end of file
diff --git a/views/extra/navbar.ejs b/views/extra/navbar.ejs
new file mode 100644
index 0000000..6f62816
--- /dev/null
+++ b/views/extra/navbar.ejs
@@ -0,0 +1,31 @@
+
+<!-- Navbar: -->
+
+<script src="/js/scripts.js"></script>
+
+<div id="admin"></div>
+<script>  if (<%= user.admin %>) admin();  </script>
+<a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
+
+<div class="navbar" id="navbar">
+
+    <a href="/threads">THREADS</a>
+    <a href="/users">USERS</a>
+    <a href="/search">SEARCH</a>
+    <a href="/threads/open/">OPEN THREAD</a>
+
+    <div style="float: right;" class="user" id="user">
+        <a href=<%=user.getLink() %>>
+            <h1>
+                <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
+            </h1>
+        </a>
+    </div>
+
+</div>
+
+
+
+<hr>
+
+<!-- Navbar end -->
\ No newline at end of file
diff --git a/views/index.ejs b/views/index.ejs
index dc5b7ec..f35b824 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -1,54 +1,11 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-    <link rel="stylesheet" href="/css/styles.css" />
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Main page!</title>
-    <meta name="description" content="Main page of Akf-forum!">
-    <meta name="author" content="Akif9748">
-    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
-    <script src="/js/scripts.js"></script>
-</head>
-
-
+<%- include("extra/header", {title: "Main page!" }) %>
 <body>
-    <div id="admin"></div>
-    <script>  if (<%= user.admin %>) admin();  </script>
-
-
-    <!-- Navbar: -->
-
-
-    <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
-
-
-    <div class="navbar" id="navbar">
-
-        <a href="/threads">THREADS</a>
-        <a href="/users">USERS</a>
-        <a href="/search">SEARCH</a>
-        <a href="/threads/open/">OPEN THREAD</a>
-
-        <div style="float: right;" class="user" id="user">
-            <a href=<%=user.getLink() %>>
-                <h1>
-                    <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
-                </h1>
-            </a>
-        </div>
-
-    </div>
-
-
-
-    <hr>
-
-    <!-- Navbar end -->
-
 
+    <%- include("extra/navbar", {user}) %>
+    
 
     <h1>Welcome, <a href=<%=user.getLink() %>> <%= user.name %></a>
         <img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
@@ -84,7 +41,8 @@
 
     </ul>
 
-    <!-- This website is powered by AKF-Forum -->
+    <%- include("extra/footer") %>
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/views/login.ejs b/views/login.ejs
index a091859..77d4ca5 100644
--- a/views/login.ejs
+++ b/views/login.ejs
@@ -1,17 +1,7 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-    <link rel="stylesheet" href="/css/styles.css" />
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>LOGIN</title>
-    <meta name="description" content="Login to Akf-forum!">
-    <meta name="author" content="Akif9748">
-    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
-
-</head>
-
+    <%- include("extra/header", {title: "Login page!" }) %>
 
 <body>
     <!-- Navbar: -->
@@ -30,7 +20,7 @@
         <input type="submit" value="Login">
     </form>
 
-    <!-- This website is powered by AKF-Forum -->
+    <%- include("extra/footer") %>
 </body>
 
 </html>
\ No newline at end of file
diff --git a/views/openThread.ejs b/views/openThread.ejs
index 19c31b0..a742fbf 100644
--- a/views/openThread.ejs
+++ b/views/openThread.ejs
@@ -1,70 +1,28 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-    <link rel="stylesheet" href="/css/styles.css" />
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Open Thread</title>
-    <meta name="description" content="Open thread in Akf-forum!">
-    <meta name="author" content="Akif9748">
-    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
+<%- include("extra/header", {title: "Open Thread!" }) %>
 
-</head>
+    <body>
 
-
-<body>
-    <script src="/js/scripts.js"></script>
-
-    <div id="admin"></div>
-    <script>  if (<%= user.admin %>) admin();  </script>
-
-
-    <!-- Navbar: -->
-
-
-    <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
-
-
-    <div class="navbar" id="navbar">
-
-        <a href="/threads">THREADS</a>
-        <a href="/users">USERS</a>
-        <a href="/search">SEARCH</a>
-        <a href="/threads/open/">OPEN THREAD</a>
-
-        <div style="float: right;" class="user" id="user">
-            <a href=<%=user.getLink() %>>
-                <h1>
-                    <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
-                </h1>
-            </a>
-        </div>
-
-    </div>
+        <%- include("extra/navbar", {user}) %>
 
 
 
-    <hr>
+            <form action="/threads/" method="POST">
+                <h2>Title:</h2>
+                <input name="title"></input>
 
-    <!-- Navbar end -->
+                <hr>
+                <h2>Content:</h2>
+                <textarea rows="4" cols="50" name="content"></textarea>
+
+                <hr>
+                <button class="buyuk" type="submit">Open Thread!</button>
+            </form>
 
 
-
-    <form action="/threads/" method="POST">
-        <h2>Title:</h2> 
-        <input name="title"></input>
-
-        <hr>
-        <h2>Content:</h2> 
-        <textarea rows="4" cols="50" name="content"></textarea>
-   
-        <hr>
-        <button class = "buyuk" type="submit">Open Thread!</button>
-    </form>
-
-
-    <!-- This website is powered by AKF-Forum -->
-</body>
+            <%- include("extra/footer") %>
+    </body>
 
 </html>
\ No newline at end of file
diff --git a/views/register.ejs b/views/register.ejs
index ee28b07..031beea 100644
--- a/views/register.ejs
+++ b/views/register.ejs
@@ -1,16 +1,8 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-    <link rel="stylesheet" href="/css/styles.css" />
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Register</title>
-    <meta name="description" content="Register to Akf-forum!">
-    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
-
-</head>
 
+<%- include("extra/header", {title: "Register!" }) %>
 
 <body>
 
@@ -38,7 +30,7 @@
         <input type="submit" value="Register">
     </form>
 
-    <!-- This website is powered by AKF-Forum -->
+    <%- include("extra/footer") %>
 </body>
 
 </html>
\ No newline at end of file
diff --git a/views/thread.ejs b/views/thread.ejs
index 7c1ceb6..97f236a 100644
--- a/views/thread.ejs
+++ b/views/thread.ejs
@@ -1,99 +1,72 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-  <link rel="stylesheet" href="/css/styles.css" />
-  <meta charset="UTF-8" />
-  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-  <title>
-    <%= thread.title %>
-  </title>
-  <meta name="description" content="Thread page of Akf-forum!">
-  <meta name="author" content="Akif9748">
-  <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
+<%- include("extra/header", {title: "Main page!" }) %>
 
-</head>
+  <body>
+
+    <%- include("extra/navbar", {user}) %>
+     
+
+      <h1 style="font-size: 35px;">
+        <%= thread.title %>
+      </h1>
 
 
-<body>
-    <script src="/js/scripts.js"></script>
-    <div id="admin"></div>
-    <script>  if (<%= user.admin %>) admin();  </script>
-    
-    <!-- Navbar: -->
-    <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
-    <div class="navbar" id="navbar">
 
-        <a href="/threads">THREADS</a>
-        <a href="/users">USERS</a>
-        <a href="/search">SEARCH</a>
-        <a href="/threads/open/">OPEN THREAD</a>
 
-        <div style="float: right;" class="user" id="user">
-            <a href = <%= user.getLink() %> > <h1> <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>> </h1>  </a>
+      <br>
+      <% messages.forEach(message=>{ %>
+
+        <div id=<%="message-" + message.id %> style="border: 2px solid #444444; padding: 5px;">
+          <h2>
+            <img class="yuvarlak" src=<%=message.author.avatar %> alt=<%= message.author.name %>>
+              <a style="  color: #bcbcbc;  " href=<%="/users/" + message.author.id %>> <%= message.author.name %></a>:
+          </h2>
+
+          <h2>
+            <%= message.content %>
+          </h2>
+          <form style="text-align:right;display:inline;" action="/message/delete/<%= message.id %>" method="post">
+            <button style="display:inline;" class="button" type="submit">DELETE</button>
+          </form>
+
+
+          <form style="display:inline;" action="/message/<%= message.id %>" method="delete">
+          </form>
+          <form style="text-align:right;" action="/message/react/<%= message.id %>" method="POST">
+
+            <h3 style="display:inline;">
+              <%= Object.values(message.react).filter(Boolean).length - Object.values(message.react).filter(x=>
+                !x).length %>
+            </h3>
+
+
+            <button style="display:inline;" class="button" name="like" type="submit">+🔼</button>
+            <button style="display:inline;" class="button" name="dislike" type="submit">-🔽</button>
+            <h3 style="display:inline;">
+              <%=new Date(message.time).toLocaleString() %>
+            </h3>
+          </form>
         </div>
-    </div>
-    <hr>
-    <!-- Navbar end -->
-
-  <h1 style="font-size: 35px;">
-    <%= thread.title %>
-  </h1>
-
-
-
-
-  <br>
-  <% messages.forEach(message=>{ %>
-
-    <div id= <%= "message-" + message.id %> style="border: 2px solid #444444; padding: 5px;">
-      <h2>
-        <img class="yuvarlak" src=<%=message.author.avatar %> alt=<%= message.author.name %>>
-          <a style="  color: #bcbcbc;  " href=<%="/users/" + message.author.id %>> <%= message.author.name %></a>:
-      </h2>
-
-      <h2>
-        <%= message.content %>
-      </h2>
-      <form style="text-align:right;display:inline;" action="/message/delete/<%= message.id %>" method="post">
-        <button style="display:inline;" class="button" type="submit">DELETE</button>
-      </form>
-
-
-      <form style="display:inline;" action="/message/<%= message.id %>" method="delete">
-      </form>
-      <form style="text-align:right;" action="/message/react/<%= message.id %>" method="POST">
-
-        <h3 style="display:inline;">
-          <%= Object.values(message.react).filter(Boolean).length - Object.values(message.react).filter(x=>!x).length %>
-        </h3>
-
-
-        <button style="display:inline;" class="button" name="like" type="submit">+🔼</button>
-        <button style="display:inline;" class="button" name="dislike" type="submit">-🔽</button>
-        <h3 style="display:inline;">
-          <%=new Date(message.time).toLocaleString() %>
-        </h3>
-      </form>
-    </div>
-
-    <br>
-    <% }); %>
-
-      <hr>
-
-
-      <form action="/message" method="POST">
-        <textarea rows="4" cols="50" name="content"></textarea>
-        <input name="threadID" type="hidden" value="<%= thread.id %>"></input>
 
         <br>
+        <% }); %>
 
-        <button class="button" type="submit">Send!</button>
-      </form>
+          <hr>
 
 
-      <!-- This website is powered by AKF-Forum -->
-</body>
+          <form action="/message" method="POST">
+            <textarea rows="4" cols="50" name="content"></textarea>
+            <input name="threadID" type="hidden" value="<%= thread.id %>"></input>
+
+            <br>
+
+            <button class="button" type="submit">Send!</button>
+          </form>
+
+
+          <%- include("extra/footer") %>
+  </body>
 
 </html>
\ No newline at end of file
diff --git a/views/threads.ejs b/views/threads.ejs
index 2fb2eac..4e4e6df 100644
--- a/views/threads.ejs
+++ b/views/threads.ejs
@@ -1,52 +1,26 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-    <link rel="stylesheet" href="/css/styles.css" />
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Threads!</title>
-    <meta name="description" content="Threads' page of Akf-forum!">
-    <meta name="author" content="Akif9748">
-    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
+<%- include("extra/header", {title: "Main page!" }) %>
 
-</head>
+    <body>
+
+        <%- include("extra/navbar", {user}) %>
 
 
-<body>
-    <script src="/js/scripts.js"></script>
-    <div id="admin"></div>
-    <script>  if (<%= user.admin %>) admin();  </script>
-    
-    <!-- Navbar: -->
-    <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
-    <div class="navbar" id="navbar">
-
-        <a href="/threads">THREADS</a>
-        <a href="/users">USERS</a>
-        <a href="/search">SEARCH</a>
-        <a href="/threads/open/">OPEN THREAD</a>
-
-        <div style="float: right;" class="user" id="user">
-            <a href = <%= user.getLink() %> > <h1> <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>> </h1>  </a>
-        </div>
-    </div>
-    <hr>
-    <!-- Navbar end -->
+            <h1>Threads:</h1>
+            <ul>
+                <% threads.forEach(thread=>{ %>
+                    <li>
+                        <h1><a href=<%=links[threads.indexOf(thread)] %> > <%= thread.title %> by <%= thread.author.name
+                                        %></a>
+                        </h1>
+                    </li>
+                    <% }); %>
+            </ul>
 
 
-    <h1>Threads:</h1>
-    <ul>
-        <% threads.forEach(thread=>{ %>
-            <li>
-                <h1><a href=<%=links[threads.indexOf(thread)] %> > <%= thread.title %> by <%= thread.author.name %></a>
-                </h1>
-            </li>
-            <% }); %>
-    </ul>
-
-
-    <!-- This website is powered by AKF-Forum -->
-</body>
+            <%- include("extra/footer") %>
+    </body>
 
 </html>
\ No newline at end of file
diff --git a/views/user.ejs b/views/user.ejs
index ceb9b11..7ecc31e 100644
--- a/views/user.ejs
+++ b/views/user.ejs
@@ -1,87 +1,58 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-  <link rel="stylesheet" href="/css/styles.css" />
-  <meta charset="UTF-8" />
-  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-  <title>
-    <%= member.name %>
-  </title>
-  <meta name="description" content="Akf-forum user page!">
-  <meta name="author" content="Akif9748">
-  <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
+<%- include("extra/header", {title: "Main page!" }) %>
 
-</head>
+  <body>
+
+    <%- include("extra/navbar", {user}) %>
 
 
-<body>
-    <script src="/js/scripts.js"></script>
-    <div id="admin"></div>
-    <script>  if (<%= user.admin %>) admin();  </script>
-    
-    <!-- Navbar: -->
-    <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
-    <div class="navbar" id="navbar">
+      <ul>
+        <li>
+          <h1>Avatar:</h1>
+          <img style="width:256px;height:256px;" src=<%=member.avatar %> alt=<%= member.name %>>
+        </li>
 
-        <a href="/threads">THREADS</a>
-        <a href="/users">USERS</a>
-        <a href="/search">SEARCH</a>
-        <a href="/threads/open/">OPEN THREAD</a>
-
-        <div style="float: right;" class="user" id="user">
-            <a href = <%= user.getLink() %> > <h1> <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>> </h1>  </a>
-        </div>
-    </div>
-    <hr>
-    <!-- Navbar end -->
+        <li>
+          <h2>Name: <%= member.name %>
+          </h2>
+        </li>
+        <li>
+          <h2>Created at:
+            <%= new Date(member.time).toLocaleString() %>
+          </h2>
 
 
-  <ul>
-    <li>
-      <h1>Avatar:</h1>
-      <img style="width:256px;height:256px;" src=<%=member.avatar %> alt=<%= member.name %>>
-    </li>
+        </li>
+        <li>
+          <h2>Is admin? <%= member.admin ? "Yes" : "No" %>
+          </h2>
+        </li>
 
-    <li>
-      <h2>Name: <%= member.name %>
-      </h2>
-    </li>
-    <li>
-      <h2>Created at:
-        <%= new Date(member.time).toLocaleString() %>
-      </h2>
+        <li>
+          <h2> Message: <%= counts.message %>
+          </h2>
+        </li>
+        <li>
+          <h2> Thread: <%= counts.thread %>
+          </h2>
+        </li>
+      </ul>
 
+      <% if (user.admin) {%>
+        <form action="/admin/" method="POST">
+          <input name="userid" type="hidden" value="<%= member.id %>"></input>
+          <button class="buyuk" type="submit">Make admin!</button>
 
-    </li>
-    <li>
-      <h2>Is admin? <%= member.admin ? "Yes" : "No" %>
-      </h2>
-    </li>
+        </form>
 
-    <li>
-      <h2> Message: <%= counts.message %>
-      </h2>
-    </li>
-    <li>
-      <h2> Thread: <%= counts.thread %>
-      </h2>
-    </li>
-  </ul>
+        <form action="/users/delete/<%= member.id %>" method="POST">
+          <button class="buyuk" type="submit">Delete user!</button>
+        </form>
+        <% }; %>
 
-  <% if (user.admin) {%>
-    <form action="/admin/" method="POST">
-      <input name="userid" type="hidden" value="<%= member.id %>"></input>
-      <button class="buyuk" type="submit">Make admin!</button>
-
-    </form>
-
-    <form action="/users/delete/<%= member.id %>" method="POST">
-      <button class="buyuk" type="submit">Delete user!</button>
-    </form>
-    <% }; %>
-
-    <!-- This website is powered by AKF-Forum -->
-</body>
+          <%- include("extra/footer") %>
+  </body>
 
 </html>
\ No newline at end of file
diff --git a/views/userEdit.ejs b/views/userEdit.ejs
index 369fc89..bc52b48 100644
--- a/views/userEdit.ejs
+++ b/views/userEdit.ejs
@@ -1,42 +1,16 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-    <link rel="stylesheet" href="/css/styles.css" />
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Edit profile</title>
-    <meta name="description" content="Akf-forum!">
-    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
+<%- include("extra/header", {title: "Main page!" }) %>
 
-</head>
+    <body>
+
+        <%- include("extra/navbar", {user}) %>
 
 
-<body>
-    <script src="/js/scripts.js"></script>
-    <div id="admin"></div>
-    <script>  if (<%= user.admin %>) admin();  </script>
-    
-    <!-- Navbar: -->
-    <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
-    <div class="navbar" id="navbar">
-
-        <a href="/threads">THREADS</a>
-        <a href="/users">USERS</a>
-        <a href="/search">SEARCH</a>
-        <a href="/threads/open/">OPEN THREAD</a>
-
-        <div style="float: right;" class="user" id="user">
-            <a href = <%= user.getLink() %> > <h1> <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>> </h1>  </a>
-        </div>
-    </div>
-    <hr>
-    <!-- Navbar end -->
-
-
-    <h1>This page is not ready.</h1>
-    <hr>
-    <!---  <form action="/userEdit/<%=  %>" method="post">
+            <h1>This page is not ready.</h1>
+            <hr>
+            <!---  <form action="/userEdit/<%=  %>" method="post">
 
       
         <input type="text" name="username" placeholder="Username" id="username" required>
@@ -48,6 +22,8 @@
         <input type="submit" value="Register">
     </form>
 -->
-</body>
+            <%- include("extra/footer") %>
+
+    </body>
 
 </html>
\ No newline at end of file
diff --git a/views/users.ejs b/views/users.ejs
index 32845de..f214be3 100644
--- a/views/users.ejs
+++ b/views/users.ejs
@@ -1,52 +1,27 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<head>
-    <link rel="stylesheet" href="/css/styles.css" />
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Users!</title>
-    <meta name="description" content="Akf-forum users!">
-    <meta name="author" content="Akif9748">
-    <link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
+<%- include("extra/header", {title: "Main page!" }) %>
 
-</head>
+    <body>
+
+        <%- include("extra/navbar", {user}) %>
 
 
-<body>
-    <script src="/js/scripts.js"></script>
-    <div id="admin"></div>
-    <script>  if ( <%= user.admin %> ) admin();  </script>
-
-    <!-- Navbar: -->
-    <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
-    <div class="navbar" id="navbar">
-
-        <a href="/threads">THREADS</a>
-        <a href="/users">USERS</a>
-        <a href="/search">SEARCH</a>
-        <a href="/threads/open/">OPEN THREAD</a>
-
-        <div style="float: right;" class="user" id="user">
-            <a href = <%= user.getLink() %> > <h1> <%= user.name %><img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>> </h1>  </a>
-        </div>
-    </div>
-    <hr>
-    <!-- Navbar end -->
-    <h1>USERS:</h1>
-    <ul>
-        <% users.forEach(user=>{ %>
-            <li>
-                <h1><a href= <%= links[user.id] %> > <%= user.name %></a>
-                    <img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
-                </h1>
-            </li>
-            <% }); %>
-    </ul>
+            <h1>USERS:</h1>
+            <ul>
+                <% users.forEach(user=>{ %>
+                    <li>
+                        <h1><a href=<%=links[user.id] %> > <%= user.name %></a>
+                            <img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
+                        </h1>
+                    </li>
+                    <% }); %>
+            </ul>
 
 
 
-    <!-- This website is powered by AKF-Forum -->
-</body>
+            <%- include("extra/footer") %>
+    </body>
 
 </html>
\ No newline at end of file