Added note backend handling

use $notes in view