add form validation and form body