adding support for agree to terms in register