Article 2 15 of China's contract law stipulates that if the lease term is more than six months, it shall be in written form. If the parties fail to adopt a written form, it shall be regarded as an indefinite lease.
There is only one person's name on the contract, so only that person is the party to the contract. It's just that you three are sharing the intention, and the landlord knows this situation. It can be considered that the signatory rents the house and sublets it to two other people, but there is no written contract between the three of you, so it is considered that the other two people rent the house to the former person irregularly.