An attempt at repairing and improving the code for a forum i have been working on during my education.