class AccountService {

	public List<Account> findAccounts(String user) {

		logger.debug("AccountService.findAccounts: id=" + user);

		List<Account> account = accounts.findByUserid(user);
		
		logger.debug("Found " + account.size() + " account(s).");
		
		logger.info(String.format("AccountService.findAccount - retrieved account for user id: %s. Payload is: %s", user, account));

		return account;
	}

}