However , the country did not officially become a UN member until 2002 .