transactions fixed

added the controller to app.js