add resource owner support