Update mixpanel implementation

Updates mixpanel version to 2.2 and correctly identifies the user.