Restructuring query that looks-up companies associated with a given user.