protected template files with htaccess, fixed event bugs, added logger to js console, added global logs, updated the default app