added the required fields to the html