@Override
		public boolean equals(Object obj) {
			if (obj instanceof String)
				return name.equals(obj);

			if (obj instanceof Profile) {
				Profile that = (Profile) obj;
				return this.name.equals(that.name) && this.host.equals(that.host) &&
					this.port.equals(that.port) && this.userName.equals(that.userName) &&
					this.password.equals(that.password);
			}
			return false;
		}