change activities endpoint to return single activity instead of list