Revert registrations controller stuff and try javascript cio code for customer.io