added some commented code a nonfunctional checkbox and a style for validation errors