add user feature test and code