add getRegister() redirect when registration fails