ajax and data working for tenant landlord flat