Revising main and header of HTML page

Revising the code that update DB and add sub-title of web page.