Delete redirect user to homepag when an error is occured from backend.