Best workaround i found to have custom endpoints for users
Is create this directory structure
Route - /api/users/config/routes.js
Controller - /api/users/controller/users.js
And write your logic there
This allows you to have default controllers and your logic in separate files