     # Try to add the new transaction (Call the function that emits a promise and Koa will wait for the function to complete)
     yield Q.ninvoke tx, "save"
     this.status = 'created'
-    logger.info 'User %s created transaction with id %s', this.authenticated.email, tx.id
+    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'
 

    yield transactions.Transaction.findByIdAndRemove(transactionId).exec()
    this.body = 'Transaction successfully deleted'
    this.status = 'ok'
    logger.info 'User %s removed transaction with id %s', this.authenticated.email, transactionId
  catch e
    util.logAndSetResponse this, 'internal server error', "Could not update transaction via the API: #{e}", 'error'

    yield transactions.Transaction.findByIdAndUpdate(transactionId, updates).exec()
    this.body = "Transaction with ID: #{transactionId} successfully updated"
    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'

