Adding avatar api