SecureSocialService rewritten with better encapsulation