this should be handled in a before action in the note controller