Completed Notebooks controller, DRYed the views further down