on the registation confirmation, redirect to the main page.