Require licensed plumber. Discontinue use of the rainwater tank. Install a proper new outlet, accounting for heavy rainfall so water from the roof gutter can flow freely. Repair the leaking toilet (unknown if the fill valve or flush valve needs replacement). Thanks