Fixed HTML encoding and preview page
Implemented autofilling form fields and tested