Login working without passing event_code