connects to a postgres database and stores the newsletter subscription email in the db
cleaned up scripts.js