change way of authorizing invitation actions