Membrane module and process development for monopolar and bipolar membrane electrodialysis door