Auth endpoint /auth/local is over-fetching data - how to create custom controller?

I tried this in strapi 4 but it doesn’t go into that file, it still uses the original in node_modules. Is there something else I need to do?