Getting the activity list from the backend