controller is almost done; need to manage click event in view.js to prevent click when disabled