Authentication controller

Hello, is there a way to access the authentication controller in Strapi? I am trying to add a custom id for each user upon registration.

extension system or patch package the users-permissions plugin

Thank you! @Boegie19