Created alias after login. Added Logged in event to mixpanel. Run detectLogin only when mixpanel is available