replaced credentials by config file