show, create, update, and delete notes using ajax