Change user.companies to user.company_membership