Refactored SecuredAction