Secured the logging and the events controller.
Merge pull request #91 from IDgis/fix-admin-security

Secured the logging and the events controller.