Backend Development for a Web-Based Written Exploration Therapy (WET) Agent