added postgres config to database.yml