redirecting to each page