changed db from sqlite3 to postgres to deploy it on heroku