get connection parameters from config/settings.js - railslike
bugfixing