migrated db to psql from sqlite, fixed an issue with the foroms ability to send data