Database connection addes as global variable