Ensure someone is logged in before delete/duplicate/remove/sort templates.
Fix issue with template duplication and non-autoincrement insert operation/table.
Merge pull request #74 from palepurple/login-enforcement-lo-properties

Login enforcement lo properties + LO duplication