Added Form Validation to model