notesFactory.put now returns all notes to display on main page