Adding database connection