added edit, index, and destroy actions for notes