update send mail activation code
added controls to register form