added password method to Internet class.