resolved add authorizations logic