@PreAuthorize("isAuthenticated() and (hasRole('ROLE_USER'))")
 @HandleBeforeCreate
 public void beforeTransactionCreate(Transaction transaction) {
   logger.debug(
       String.format(
           "In before create for a transaction with a category of '%s' and a payee of '%s'",
           transaction.getCategory(), transaction.getPayee()));
   transaction.setCreatedDate(Calendar.getInstance().getTime());
   transaction.setUpdatedDate(Calendar.getInstance().getTime());
   transaction.setAdjustment(0.00D);
 }