Renaming 'devices' to 'things' in the User schema