Connect the form with backend