Frontend registration - Plugin territory

Hi guys
Themeforest soft reject for Plugin territory(for front-end registration ,reset password ,lost password and login )(WordPress Theme)
what should I do now?

Create a plug-in and include to the theme with TGM

Can I create my code as plugin
Or must be use wordpress plugin repository?

Put the code that is responsible for registration, reset password … into a plugin, after this require the plugin using TGM to be activated for the theme to access the registration, reset password code/feature.

No, you can put the plugin on your server or even in wordpress repository but here it first must be approved - almost all developers put the plugin on their site.