Refactor notes create controller