Text this: Chitosan-based hydrogel for wastewater treatment