btnReg in controller