Registration, auth controller refactoring