using enviroment variable instead of hard coded value
fixed OPENSHIFT_POSTGRESQL_DB_URL env
fixed OPENSHIFT_POSTGRESQL_DB_URL env