Lignin removal from pulp and paper industry waste streams and its application