add required and show in register option