reading database url from config variables