updated register redirect