CUser security policy and fix bug with getSecurityPolicu on autoload and isseting function