Added login view & model. Converted app.js to coffeescript