     ))
 
 (defn render-users
-    [user-name statistic changes url-prefix zw-mode]
-    (page/xhtml
-        (render-html-header nil url-prefix zw-mode)
-        [:body
-            [:div {:class "container"}
-                (render-navigation-bar-section nil user-name url-prefix zw-mode)
+    [user-name statistic changes url-prefix title mode]
+    (page/xhtml
+        (render-html-header nil url-prefix title)
+        [:body
+            [:div {:class "container"}
+                (render-navigation-bar-section user-name url-prefix title mode)
 
                 [:table {:class "table table-stripped table-hover" :style "width:auto"}
                     [:tr [:th "User name"]

                                [:tr [:td word]
                                     [:td (:datetime search-result)]
                                     [:td (:user search-result)]
                                     (if zw-mode
                                         [:td (:description search-result)])
                                     [:td (if deleted "deleted" "active")]
                                     [:td (if deleted [:a {:href (str "?undelete=" word) :class "btn btn-success"} "undelete"]

    ))

(defn render-front-page
    [word user-name search-results message url-prefix title mode]
    (page/xhtml
        (render-html-header word url-prefix title)
        [:body
            [:div {:class "container"}
                (render-navigation-bar-section user-name url-prefix title mode)

                (if zw-mode
                    (form/form-to [:post (str url-prefix "add-word")]
