Despite funding shortages, UN committed to staying in Afghan