public void changePersonDetails(Person person, String name, String email, String contactNumber, String address, int accessLevel, String password, String vatNumber, String contactName ){
		this.person = person;
		this.person.setName(name);
		this.person.setEmail(email);
		this.person.setAddress(address);
		this.person.setContactNumber(contactNumber);
		if((accessLevel==0 && password==null)&&(vatNumber!=null && contactName!=null)){
			((Supplier)this.person).setVatNumber(vatNumber);
			((Supplier)this.person).setContactName(contactName);
		}
		else if((vatNumber==null && contactName==null)&&(accessLevel!=0 && password!=null)){
			((Staff)this.person).setPassword(password);
			((Staff)this.person).setAccessLevel(accessLevel);
		}	
	}