Cleaned up html code so it would validate and added validations to each database model.