build user_similarity compute

build user_similarity compute and the test suite