Created destructor and minor changes

Created a temporary destructor for destruction of ClientHandlers upon
logout
Made changes to the JSON functionality