added database connectivity
updated heroku database connection