                         [:a {:href "/deleted-words" :class "navbar-brand"} "Deleted words"]
                     ] ; ./navbar-header
                 ] ; col ends
+                [:div {:class "col-md-3"}
+                    (render-name-field user-name)
+                ]
+                [:div {:class "col-md-1"}
+                    [:div {:class "navbar-header"}
+                        [:a {:href "/users" :class "navbar-brand"} "Users"]
+                    ] ; ./navbar-header
+                ] ; col ends
             ] ; row ends
         ] ; /.container-fluid
 ]); </nav>
 
 (defn render-error-page
     "Render error page with a 'back' button."
-    [word message]
+    [word user-name message]
     (page/xhtml
         (render-html-header "")
         [:body
             [:div {:class "container"}
-                (render-navigation-bar-section word)
+                (render-navigation-bar-section word user-name)
                 [:div {:class "col-md-10"}
                     [:h2 "Sorry, error occured in zg"]
                     [:p message]

            [:div {:class "input-group-btn"}
                (form/submit-button {:class "btn btn-default"} "Search")]]))

(defn render-navigation-bar-section
    "Renders whole navigation bar."
    [word]
    [:nav {:class "navbar navbar-inverse navbar-fixed-top" :role "navigation"}
        [:div {:class "container-fluid"}
            [:div {:class "row"}

    ))

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

                (form/form-to [:post "/add-words"]
                        [:div {:class "label label-primary"} "New words"]
