Finishes dashboard functionality, cleans up app.js