Fixed redirection after registration