unload_user_installed_pkgs function

Unload all user-installed packages