     this.status = 'created'
     logger.info "User #{this.authenticated.email} created transaction with id #{tx.id}"
   catch e
-    util.logAndSetResponse this, 'internal server error', "Could not add a transaction via the API: #{e}", 'error'
+    utils.logAndSetResponse this, 'internal server error', "Could not add a transaction via the API: #{e}", 'error'
 
 
 ###

    this.status = 'ok'
    logger.info "User #{this.authenticated.email} updated transaction with id #{transactionId}"
  catch e
    util.logAndSetResponse this, 'internal server error', "Could not update transaction via the API: #{e}", 'error'


###

    this.status = 'ok'
    logger.info "User #{this.authenticated.email} removed transaction with id #{transactionId}"
  catch e
    utils.logAndSetResponse this, 'internal server error', "Could not update transaction via the API: #{e}", 'error'
