add user service and test cases