modify the join activity action to make it RESTful