enabled logging, removed unnecessary classes, fixed form and json requests
enabled logging