Refactor socials handling and make mud_actions more efficient