Principles of managing social institutions in social service