refactoring the create view into a create form.