Add user search api method and test