Added the ability to post from a form to the postgres database