enhance @user() resource
fix bug in @group() resource