Rights and liabilities of mortgager