Changes made for notes presentation with db access