Working system

Fixed type in app.js file that was breaking DELETE
Fixed controller so it now works