Populate users-permissions to get user avatar

You can do this easily by customising controllers, just override add routes you need and use db query or entity service…