wastewater treatment; water reuse; bacterial community; biomass characteristics; contaminant removal; membrane performance; draw solutions; biogas production; sludge discharge