changes done for Notes. Getting the authenticated user and save in DB

changes done for Notes. Getting the authenticated user and save in DB