Edit button working, Dashboard working, and controller.js major refactor