added SecurityCheck in some controller

Uncomment the securityCheck if you want it to work