tidied up comments and notes controller with global filters