Shared service for API calls. Data does not reload upon page switch. End of part 4