performance update

- extends TobyMySQL->insert to specify vars for updates on key clash
- applies changes to db saving of session data