added database changes to include postgreSQL for heroku