Made some slight changes regarding connect_db.php and its import

Changed from require() to require_once() so the file gets implemented
only once