moved db url to config