Having Problem in connecting the database to the webpage

My database is not receiving the data after submitting the
form in add_persons.hbs.Also it is not getting redirected to the original ‘/’ page. I have followed all the steps done in the webinar . Please tell what should I do.