As far as I know, this is could be viewed as embezzlement, and subject you to an IRS audit, unless you paid back the loan with substantial interest. You could, from my understanding receive an "allowance" from the Board of Directors, to an entitlement of a certain amount of money...