Add debug info for sessions (store in apache logs)
Update to mysqli