Security review

Adding some type information to the form fields and escape the user answers when adding them to the input fields