Dict factory added. Add logs and add activities works now with Ajax.