boolean checkPassword(String password, String confirmPassword) {
		if(password.length() < 8 || password.length() > 16) {
			JOptionPane.showMessageDialog(null, "Password must be between 8 to 16 characters long", "Error", JOptionPane.ERROR_MESSAGE);
			return false;
		}
		if(!password.equals(confirmPassword)) {
			JOptionPane.showMessageDialog(null, "Passwords do not match", "Error", JOptionPane.ERROR_MESSAGE);
			return false;
		}
		return true;
	}