How to Use Groups in Registration