added support to identify both customers and users