updated app.js, can now pass arguments for course