code refactoring; fix the contact form; add the documents title; remove unnecessary code