add dependent destroy on memberships in Activity model and also add render html in activities#index