added extra parameter to specify backend credentials; make it run from database with pilots; issue #573

...atabase with pilots; issue #573