refresh on register and have validated HTML