Revamp registerAction in plain POST style.