public boolean delAccount(String passwd, String username) throws Exception{
		Account acc = null;
		try {
			acc = dfh.ReadAccount("accounts.dat", username);
		} catch (ClassNotFoundException e1) {
			e1.printStackTrace();
			
		}
		if(acc == null){
			return false;
		}
		
		try {
			if(e.decode(acc.getPasswd(), pass) == passwd){
				
			}
		} catch (InvalidKeyException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			
		} catch (NoSuchAlgorithmException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			
		} catch (NoSuchPaddingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			
		} catch (IllegalBlockSizeException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			
		} catch (BadPaddingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			
		}
		
		return false;
	}