Uses getAllPersons api from backend instead of mock json file