[task] refactore registration module and update templates