WIP issue-358 COPPA fix

Need to add validation and tidy things up. Also, maybe i should split all of this into a mixin?
Apparently the `else` should be merged with the previous line (so says the linter): `} else {`