added database stuff for heroku