Add user avatar api endpoint.