Add auto redirect in Error page