Added redirecting to pages.