Both should have name in property agreement. Both can take benefit of the loan repayment in the proportion of ownership mentioned in the agreement. If the proportion of ownership is not mentioned in the agreement them by default both have 50% ownership