added controls to register form
update mail activation code generation