Added permission based security system