connect with DATABASE_URL environment variable if it is set