moves some of the social code up and out

this block shouldn't have been in the framework but in the social
extension