Increased variation for successLogin function