[IMP] Improved code to make the template of free and paid registration works accordingly.
And improved the template of free registration.