added authorizer code