New legislation introduced to state parliament aim to prevent Western Australians from having to suffer the financial and emotional strain of not having a home if their building company collapses.