show message box on register