moved security to aspect

result rendering still failing...