Finished view and controller, things actually work properly now