create a list when the user submits the form