Security Resource

Code snipped down and made cleaner.