Added TSL login check