finish formalizing and securing html