auto redirect corrected in register.html