added index to /noteapp