Reuse of biologically treated wastewater with tertiary water treatment technology