modifyed the app to use PostgreSQL for the production DB