add es support and create userResource test