Add security class
Change security methods