add sample helpers with authorization conditionals