Add validation on blogEdit.html and blogNew.html