use directive to select user.