fixed the redirection url after registration step