modified database.yml to use remote database connection