Changed index to show only the notes that belong to the current user