Add javascript to handle countries in local registration.
Refactor in local registration.
Bugfixes in local registering.
Remove action form local registration.