Add authorization and authentication to actions