Added app.js and wrote some basic auth.