EB-5892: Created logic for user tracking for login
EB-8592: changed logic to get event type
EB- Added event data for punchout
EB:8592 - Changes made after code review