social user refactoring