Add form validation and save to model