page redirection handling