Since you have taken a loan in your name, you are alone are responsible for paying it back. The company can not be liable to repay the same. They have all the right to refuse to pay, and the lender has no right to claim from the company
Unless you own the company and fully control it, it is very dangerous for you to take all known in your name for the business.
In any case, a company can no longer take a loan from anyone other than bank or NBFC. It can take a loan from a director or,shareholder only if the money being lent didn't come from any other person as a loan.