add self when get restaurants’ and users’ data for API