getting db url from config