The loans shall be made upon such terms as the commissioner shall determine, including secured and unsecured loans, and in connection with the secured and unsecured loans. The commissioner may enter into loan agreements, subordination agreements and other agreements; accept notes and other forms of obligation to evidence the indebtedness, and mortgages, liens, pledges, assignments or other security interest to secure the indebtedness, which may be prior or subordinate to or on a parity with other indebtedness, obligations, mortgages, pledges, assignments, other security interests or liens or encumbrances, and take such actions as are appropriate to protect the security and safeguard against losses, including foreclosure and the funds for other projects.
W. Va. Code § 17-17B-4