           user-name     (get (get (request :cookies) "user-name") :value)
           selected-user (get params "name")
           changes       (read-changes-for-user selected-user)]
-          (println "User name: " selected-user)
-          ;(println "User made changes: " changes)
+          (log/debug "User name: " selected-user)
+          ;(log/debug "User made changes: " changes)
         (-> (http-response/response (html-renderer/render-user changes selected-user user-name))
             (http-response/content-type "text/html"))))
 

        (db-interface/read-changes)
        (catch Exception e
            ; print error message in case of any DB-related exception
            (println-and-flush "read-changes(): Error accessing database 'css_descriptions.db'!")
            (println-and-flush e)
            nil)))  ; special value that will be handled later

(defn read-changes-for-user

     Special value nil / HTTP response 404 is returned in case of any I/O error."
    [file-name content-type]
    (let [file (new java.io.File "www" file-name)]
        (log/debug "Returning file " (.getAbsolutePath file))
        (if (.exists file)
            (-> (http-response/response file)
                (http-response/content-type content-type))
            (log/debug "return-file(): can not access file: " (.getName file)))))

(defn handler
    "Handler that is called by Ring for all requests received from user(s)."
    [request]
    (log/info "request URI: " (request :uri))
    (let [uri (request :uri)]
        (condp = uri
            "/favicon.ico"       (return-file "favicon.ico" "image/x-icon")
