Fixed document_head and document_foot URI.
Added few functionality to edit database, specifically adding comment.