Updates user apartmentid table when new apartment created
Made $apartmentId protected, fixing error.