making a form to be submitted to api
fixes