fixed the redirect and added in logic to hide survey results if already submitted